Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ int_
Function
int_
tensorflow/python/autograph/operators/py_builtins.py:181–184 ·
view source on GitHub ↗
(x=0, base=UNSPECIFIED)
Source
from the content-addressed store, hash-verified
179
180
181
def
int_(x=0, base=UNSPECIFIED):
182
if
tensor_util.is_tensor(x):
183
return
_tf_int(x, base)
184
return
_py_int(x, base)
185
186
187
def
_tf_int(x, base):
Callers
2
PyLocalBufferCudaArrayInterface
Function · 0.85
IntSpanToTuple
Function · 0.85
Calls
3
_tf_int
Function · 0.85
_py_int
Function · 0.85
is_tensor
Method · 0.80
Tested by
no test coverage detected