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

Method shape

tensorflow/python/ops/linalg/linear_operator.py:269–279  ·  view source on GitHub ↗

`TensorShape` of this `LinearOperator`. If this operator acts like the batch matrix `A` with `A.shape = [B1,...,Bb, M, N]`, then this returns `TensorShape([B1,...,Bb, M, N])`, equivalent to `A.shape`. Returns: `TensorShape`, statically determined, may be undefined.

(self)

Source from the content-addressed store, hash-verified

267
268 @property
269 def shape(self):
270 """`TensorShape` of this `LinearOperator`.
271
272 If this operator acts like the batch matrix `A` with
273 `A.shape = [B1,...,Bb, M, N]`, then this returns
274 `TensorShape([B1,...,Bb, M, N])`, equivalent to `A.shape`.
275
276 Returns:
277 `TensorShape`, statically determined, may be undefined.
278 """
279 return self._shape()
280
281 @abc.abstractmethod
282 def _shape_tensor(self):

Callers 15

_matrix_exp_pade3Function · 0.45
_matrix_exp_pade5Function · 0.45
_matrix_exp_pade7Function · 0.45
_matrix_exp_pade9Function · 0.45
_matrix_exp_pade13Function · 0.45
matrix_exponentialFunction · 0.45
matrix_rankFunction · 0.45
get_dim_sizeFunction · 0.45
_set_diag_operatorsMethod · 0.45
_shape_tensorMethod · 0.45
__init__Method · 0.45

Calls 1

_shapeMethod · 0.95

Tested by

no test coverage detected