MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle2ONNX / __init__

Method __init__

tests/test_tensor_array.py:21–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19
20class BaseNet(paddle.nn.Layer):
21 def __init__(self):
22 super(BaseNet, self).__init__()
23
24 def forward(self, input):
25 arr = paddle.tensor.create_array(dtype="float32")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected