24 #ifndef TVM_RELAY_ATTRS_RANDOM_H_
25 #define TVM_RELAY_ATTRS_RANDOM_H_
48 .describe(
"Data type of the generated numbers");
60 .describe(
"Data type of the generated numbers");
70 .describe(
"Number of samples to draw from the distribution.");
The base class of the all the Use "curiously recurring template pattern".
Definition: attrs.h:870
Container of constant int that adds more constructors.
Definition: expr.h:632
Array, container representing a contiguous sequence of ObjectRefs.
Definition: array.h:289
Runtime primitive data type.
Definition: data_type.h:43
Helpers for attribute objects.
#define TVM_ATTR_FIELD(FieldName)
Declare an attribute field.
Definition: attrs.h:76
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
DataType NullValue< DataType >()
Definition: attrs.h:90
Integer num_samples
Definition: random.h:65
TVM_DECLARE_ATTRS(MultinomialAttrs, "relay.attrs.MultinomialAttrs")
Definition: random.h:67
Array< Integer > out_shape
Definition: random.h:53
DataType out_dtype
Definition: random.h:54
TVM_DECLARE_ATTRS(NormalAttrs, "relay.attrs.NormalAttrs")
Definition: random.h:56
TVM_DECLARE_ATTRS(ThreefryGenerateAttrs, "relay.attrs.ThreefryGenerateAttrs")
Definition: random.h:35
Array< Integer > out_shape
Definition: random.h:33