MCPcopy Create free account
hub / github.com/tensorflow/tensorboard / vector

Function vector

tensorboard/compat/tensorflow_stub/tensor_shape.py:1013–1022  ·  view source on GitHub ↗

Returns a shape representing a vector. Args: length: The length of the vector, which may be None if unknown. Returns: A TensorShape representing a vector of the given length.

(length)

Source from the content-addressed store, hash-verified

1011
1012
1013def vector(length):
1014 """Returns a shape representing a vector.
1015
1016 Args:
1017 length: The length of the vector, which may be None if unknown.
1018
1019 Returns:
1020 A TensorShape representing a vector of the given length.
1021 """
1022 return TensorShape([length])
1023
1024
1025def matrix(rows, cols):

Callers

nothing calls this directly

Calls 1

TensorShapeClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…