MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / _create_feed_layer

Method _create_feed_layer

python/paddle/static/input.py:281–282  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

279 self.stop_gradient = stop_gradient
280
281 def _create_feed_layer(self):
282 return data(self.name, shape=self.shape, dtype=self.dtype)
283
284 def __repr__(self) -> str:
285 return f'{type(self).__name__}(shape={self.shape}, dtype={self.dtype}, name={self.name}, stop_gradient={self.stop_gradient})'

Callers 3

_make_programMethod · 0.80
_make_programMethod · 0.80
_buildMethod · 0.80

Calls 1

dataFunction · 0.70

Tested by

no test coverage detected