Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google-research/language
/ _fn
Method
_fn
language/common/utils/tensor_utils_test.py:250–251 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
248
def
test_shaped_py_func(self):
249
250
def
_fn(x, y):
251
return
np.array([x + y, x * y])
252
253
with
tf.Graph().as_default():
254
z, = tensor_utils.shaped_py_func(
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected