Initializer

class dragon.vm.tensorflow.keras.initializers.Initializer[source]

The basic Initializer.

Methods

__call__

Initializer.__call__(
  shape,
  dtype=None,
  **kwargs
)[source]

Return a tensor initialized from the initializer.

Parameters:
  • shape (Sequence[int]) – The tensor shape.
  • dtype (str, optional) – The optional data type.
Returns:

dragon.Tensor – The output tensor.