apply method

  1. @override
TensorBuffer apply(
  1. TensorBuffer input
)
override

Implementation

@override
TensorBuffer apply(TensorBuffer input) {
  if (input.getDataType() == _destinationType) {
    return input;
  }
  return TensorBuffer.createFrom(input, _destinationType);
}