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

Function _SetShapeInvariants

tensorflow/tensorflow/python/ops/control_flow_ops.py:530–559  ·  view source on GitHub ↗

Set the shapes of the tensors in `enter_vars` to `shapes`. Args: input_vars: A list of tensors that are inputs to `enter_vars`. enter_vars: A list of tensors whose shapes will be set. shapes: A (possibly nested) list of shapes. Raises: ValueError: If any tensor in `enter_vars`

(input_vars, enter_vars, shapes)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_BuildLoopMethod · 0.85

Calls 7

allFunction · 0.85
_ShapeLessThanOrEqualFunction · 0.85
TypeErrorFunction · 0.85
typeFunction · 0.85
flattenMethod · 0.45
get_shapeMethod · 0.45
set_shapeMethod · 0.45

Tested by

no test coverage detected