Attend the Women in ML Symposium on December 7 Register now

RiscShape

public final class RiscShape

Public Methods

Output<U>
asOutput()
Returns the symbolic handle of a tensor.
static <U extends Number, T extends Number> RiscShape<U>
create(Scope scope, Operand<T> input, Class<U> outType)
Factory method to create a class wrapping a new RiscShape operation.
static <T extends Number> RiscShape<Integer>
create(Scope scope, Operand<T> input)
Factory method to create a class wrapping a new RiscShape operation using default output types.
Output<U>
output()

Inherited Methods

Public Methods

public Output<U> asOutput ()

Returns the symbolic handle of a tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.

public static RiscShape<U> create (Scope scope, Operand<T> input, Class<U> outType)

Factory method to create a class wrapping a new RiscShape operation.

Parameters
scope current scope
Returns
  • a new instance of RiscShape

public static RiscShape<Integer> create (Scope scope, Operand<T> input)

Factory method to create a class wrapping a new RiscShape operation using default output types.

Parameters
scope current scope
Returns
  • a new instance of RiscShape

public Output<U> output ()