Commit de702291 authored by Jingyue Wu's avatar Jingyue Wu Committed by TensorFlower Gardener
Browse files

TransformTensor supports NCHW_VECT_C layout and int8 data type.

o Add new DataType kInt8
o Add new DataLayout kBatchDepthYX4 and new FilterLayout kOutputInputYX4, both
  of which map to CUDNN_TENSOR_NCHW_VECT_C
o Change (Then|Do)TransformTensor to take input and output element types.
o Add new tensor format FORMAT_NCHW_VECT_C, and change the utility functions in
  tensor_format.h to work with the new format.

PiperOrigin-RevId: 158806412
parent 4cc0caad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment