MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / shape

Method shape

tensorpack/compat/tensor_spec.py:61–63  ·  view source on GitHub ↗

Returns the `TensorShape` that represents the shape of the tensor.

(self)

Source from the content-addressed store, hash-verified

59
60 @property
61 def shape(self):
62 """Returns the `TensorShape` that represents the shape of the tensor."""
63 return self._shape
64
65 @property
66 def dtype(self):

Callers 15

__init__Method · 0.80
BatchNormFunction · 0.80
UnPooling2x2ZeroFilledFunction · 0.80
Conv2DTransposeFunction · 0.80
batch_flattenFunction · 0.80
print_statFunction · 0.80
batch_flattenFunction · 0.80
CaffeBilinearUpSampleFunction · 0.80
center_cropFunction · 0.80
validation_mapperFunction · 0.80
build_graphMethod · 0.80
center_cropFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected