Multiplies all slices of Tensor
x
and y
(each slice can be
viewed as an element of a batch), and arranges the individual results
in a single output tensor of the same batch size.
BucketizedCol operation represents discretized dense input.
Casts a tensor to a new type.
CategoricalColHashBucket operation can convert feature string to a Sparse/Dense Tensor
CategoricalColVocaList operation having an vocabulary mapping feature string to Integer ID
CrossCol operation preforms crosses of categorical features.
Compute the cross entropy loss and the gradients.
Computes the grayscale dilation of 4-D input
and 3-D filter
tensors.
Gather slices from first input tensor according to the second input tensor.
Indicator operation represents multi-hot representation of given Tensor.
Kv2Tensor operation convert a kv feature column to a SparseTensor or DenseTensor
Computes the maximum of elements across dimensions of a tensor.
MkString operation converts a SparseTensor/DenseTensor to a Dense Tensor[String]
Wrap a nn module to an Operation
OneHot operation returns a one-hot tensor
Operation is an abstract class which represents a forward only layer.
Computes the sum along segments of a tensor.
Selects elements from input, depending on given condition.
Select and copy a Tensor from a Table with a key.
This operation extracts a slice of size size from a tensor input starting at the location specified by begin.
Returns (x - y)(x - y) element-wise.
TensorOp is an Operation with Tensor[T]-formatted
input and output,
which provides shortcuts to build Operations for tensor transformation
by closures.
This operation creates a new tensor by replicating input multiples times.