Interface Initializer<T extends TType>

Type Parameters:
T - The data Type for initializer operation
All Known Implementing Classes:
BaseInitializer, Constant, Glorot, He, Identity, LeCun, Ones, Orthogonal, RandomNormal, RandomUniform, TruncatedNormal, VarianceScaling, Zeros
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Initializer<T extends TType>
An interface for Initializers
  • Method Summary

    Modifier and Type
    Method
    Description
    call(Ops tf, Operand<TInt64> dims, Class<T> type)
    Generates the operation used to perform the initialization.
  • Method Details

    • call

      Operand<T> call(Ops tf, Operand<TInt64> dims, Class<T> type)
      Generates the operation used to perform the initialization.
      Parameters:
      tf - the TensorFlow Ops
      dims - the shape dimensions
      type - the type of tensor
      Returns:
      An operand for the initialization.
      Throws:
      IllegalStateException - if the object has not been initialized with the TensorFlow Platform.