MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / op_def

Method op_def

tensorflow/python/framework/ops.py:2288–2298  ·  view source on GitHub ↗

Returns the `OpDef` proto that represents the type of this op. Returns: An [`OpDef`](https://www.tensorflow.org/code/tensorflow/core/framework/op_def.proto) protocol buffer.

(self)

Source from the content-addressed store, hash-verified

2286
2287 @property
2288 def op_def(self):
2289 # pylint: disable=line-too-long
2290 """Returns the `OpDef` proto that represents the type of this op.
2291
2292 Returns:
2293 An
2294 [`OpDef`](https://www.tensorflow.org/code/tensorflow/core/framework/op_def.proto)
2295 protocol buffer.
2296 """
2297 # pylint: enable=line-too-long
2298 return self._graph._get_op_def(self.type)
2299
2300 @property
2301 def _op_def(self):

Callers 15

IsKvOpsFunction · 0.45
FindGatherNodeFunction · 0.45
IsDynamicStitchOpFunction · 0.45
FindDynamicStitchNodeFunction · 0.45
CheckReshapeNodeFunction · 0.45
InternalFindUniqueNodeFunction · 0.45
FindVariablePartsMethod · 0.45
ConvertKVOpsMethod · 0.45

Calls 1

_get_op_defMethod · 0.80

Tested by

no test coverage detected