Class Conv1d
java.lang.Object
ai.beestream.jitnn.nn.Module
ai.beestream.jitnn.nn.Conv1d
- All Implemented Interfaces:
AutoCloseable
1-D convolution over [N, C, ...] with a cubic kernel, optionally grouped, PyTorch's initialisation:
weight and bias uniform in [-1/sqrt(fan_in), 1/sqrt(fan_in)), fan_in = in * kernel^1.
-
Constructor Summary
ConstructorsConstructorDescriptionConv1d(int in, int out, int kernel, int stride, int padding, int dilation, boolean bias, long seed) A 1-D convolution fromintooutchannels, initialised fromseed.Conv1d(int in, int out, int kernel, int stride, int padding, int dilation, int groups, boolean bias, long seed) Withgroupsgroups of in / groups input channels each (fan_in = in / groups * kernel^1). -
Method Summary
Methods inherited from class Module
buffer, buffers, child, close, isClosed, isTraining, loadStateDict, parameter, parameterCount, parameters, stateDict, train, zeroGrad
-
Constructor Details
-
Conv1d
public Conv1d(int in, int out, int kernel, int stride, int padding, int dilation, boolean bias, long seed) A 1-D convolution fromintooutchannels, initialised fromseed. -
Conv1d
public Conv1d(int in, int out, int kernel, int stride, int padding, int dilation, int groups, boolean bias, long seed) Withgroupsgroups of in / groups input channels each (fan_in = in / groups * kernel^1).
-
-
Method Details
-
weight
The weight [out, in, kernel]. -
forward
-