MCPcopy Create free account
hub / github.com/alibaba/nann / reshape

Function reshape

tensorflow/tensorflow/python/keras/backend.py:2598–2623  ·  view source on GitHub ↗

Reshapes a tensor to the specified shape. Arguments: x: Tensor or variable. shape: Target shape tuple. Returns: A tensor. Example: ```python >>> a = tf.constant([[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12]]) >>> a <tf.Tensor: id=32, shape=(4, 3), dtype=in

(x, shape)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

local_convFunction · 0.70
bias_addFunction · 0.70

Calls 1

reshapeMethod · 0.80

Tested by

no test coverage detected