Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ instance
Method
instance
python/paddle/base/framework.py:3170–3173 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
3168
3169
@classmethod
3170
def
instance(cls):
3171
if
not hasattr(cls,
"_instance"
):
3172
cls._instance = cls()
3173
return
cls._instance
3174
3175
def
__init__(self):
3176
assert not hasattr(self.__class__,
"_instance"
), (
Callers
15
generate_layer_fn
Function · 0.45
remove_no_need_ops
Method · 0.45
remove_no_need_in_startup
Method · 0.45
change_while_op_input_and_output
Method · 0.45
parse_op_desc
Method · 0.45
Init
Method · 0.45
__init__
Method · 0.45
_remove_training_info
Method · 0.45
infershape_for_composite
Function · 0.45
_binary_creator_
Function · 0.45
_get_train_forward_program
Method · 0.45
fill_block_desc
Method · 0.45
Calls
no outgoing calls
Tested by
7
_get_kernel_signature
Method · 0.36
_append_ops
Method · 0.36
_calc_python_api_output
Method · 0.36
_calc_dygraph_output
Method · 0.36
get_kernel_signature
Method · 0.36
_get_dygraph_grad
Method · 0.36
setUp
Method · 0.36