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

Method get_dynamic

tensorpack/models/shape_utils.py:68–71  ·  view source on GitHub ↗
(self, axis=None)

Source from the content-addressed store, hash-verified

66 return len(self.static)
67
68 def get_dynamic(self, axis=None):
69 if axis is None:
70 return [self.dynamic[k]() for k in range(self.ndims)]
71 return self.dynamic[axis]()
72
73
74if __name__ == '__main__':

Callers 2

FixedUnPoolingFunction · 0.95
shape_utils.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected