Constructors

Accessors

Methods

  • Parameters

    • batchIdx: number

    Returns number[]

  • Create a batch tensor from all input canvases and tensors with size [batchSize, inputSize, inputSize, 3].

    Parameters

    • inputSize: number

      Height and width of the tensor.

    • isCenterInputs: boolean = true

    Returns Tensor4D

    The batch tensor.