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

Method __getitem__

tensorpack/tfutils/tower.py:429–433  ·  view source on GitHub ↗

The same as :meth:`get_tensor`.

(self, name)

Source from the content-addressed store, hash-verified

427 return [self.get_tensor(name) for name in names]
428
429 def __getitem__(self, name):
430 """
431 The same as :meth:`get_tensor`.
432 """
433 return self.get_tensor(name)
434
435 def get_variable(self, name):
436 """

Callers

nothing calls this directly

Calls 1

get_tensorMethod · 0.95

Tested by

no test coverage detected