deepr.layers.ToFloat

class deepr.layers.ToFloat[source]

Cast tensor to float32

__init__()

Cast tensor to float32

Methods

__init__()

Cast tensor to float32

forward(tensors[, mode])

Forward method on one Tensor or a tuple of Tensors.

forward_as_dict(tensors[, mode])

Forward method on a dictionary of Tensors.