Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ _as_operation
Function
_as_operation
tensorflow/python/ops/op_selector.py:318–321 ·
view source on GitHub ↗
(op_or_tensor)
Source
from the content-addressed store, hash-verified
316
317
318
def
_as_operation(op_or_tensor):
319
if
isinstance(op_or_tensor, ops.Tensor):
320
return
op_or_tensor.op
321
return
op_or_tensor
322
323
324
def
graph_inputs(op):
Callers
2
_path_from
Function · 0.70
map_subgraph
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected