MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / transform

Function transform

tensorflow/python/keras/saving/hdf5_format.py:458–459  ·  view source on GitHub ↗
(kernel)

Source from the content-addressed store, hash-verified

456 order = 'F' if from_cudnn else 'C'
457
458 def transform(kernel):
459 return kernel.T.reshape(kernel.shape, order=order)
460
461 return transform
462

Callers 15

FoldConstantsFunction · 0.50
matrix_diag_transformFunction · 0.50
DoPoolBackwardMethod · 0.50
CudnnTensorDescriptorMethod · 0.50
NormalizeCustomOpNameFunction · 0.50
QuantizeTensorFloat16Function · 0.50

Calls 1

reshapeMethod · 0.80

Tested by 1

TESTFunction · 0.40