Create a symbol that groups symbols together.
Create a symbol that groups symbols together.
List of symbols to be grouped.
The created group symbol.
Create a symbolic variable with specified name.
Create a symbolic variable with specified name.
Name of the variable.
Additional attributes to set on the variable.
The shape of a variable. If specified, this will be used during the shape inference. If one has specified a different shape for this variable using a keyword argument when calling shape inference, this shape information will be ignored.
The learning rate multiplier for input variable.
Weight decay multiplier for input variable.
The dtype for input variable. If not specified, this value will be inferred.
Additional attributes which must start and end with double underscores.
A symbol corresponding to an input to the computation graph.
Returns evenly spaced values within a given interval.
Returns evenly spaced values within a given interval.
Start of interval. The default start value is 0.
End of interval.
Spacing between values. The default step size is 1.
Number of times to repeat each element. The default repeat count is 1.
The data type of the NDArray
. The default datatype is DType.Float32
.
Symbol The created Symbol.
Activation Operator of Neural Net.
Activation Operator of Neural Net. The parameters listed below can be passed in as keyword arguments.
Attributes set to the resulting symbol
Symbol parameters passed to create the resulting symbol
Key-value parameters passed to create the resulting symbol
the resulting symbol
Activation Operator of Neural Net.
Activation Operator of Neural Net. The parameters listed below can be passed in as keyword arguments.
Attributes set to the resulting symbol
Named symbol parameters passed to create the resulting symbol
Key-value parameters passed to create the resulting symbol
the resulting symbol
Load symbol from a JSON file.
Load symbol from a JSON file.
You can also use pickle to do the job if you only work on python. The advantage of load/save is the file is language agnostic. This means the file saved using save can be loaded by other language binding of mxnet. You also get the benefit being able to directly load/save from cloud storage(S3, HDFS)
The name of the file, examples:
s3://my-bucket/path/my-s3-symbol
hdfs://my-bucket/path/my-hdfs-symbol
/path-to/my-local-symbol
The loaded symbol.
Symbol.save : Used to save symbol into file.
Load symbol from json string.
Load symbol from json string.
A json string.
The loaded symbol.
Symbol.tojson : Used to save symbol into json string.
Returns a new symbol of given shape and type, filled with ones.
Returns a new symbol of given shape and type, filled with zeros.