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

Method testCallTensorDot

tensorflow/python/layers/core_test.py:96–100  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

94
95 @test_util.run_in_graph_and_eager_modes
96 def testCallTensorDot(self):
97 dense = core_layers.Dense(2, activation=nn_ops.relu, name='my_dense')
98 inputs = random_ops.random_uniform((5, 4, 3), seed=1)
99 outputs = dense(inputs)
100 self.assertListEqual([5, 4, 2], outputs.get_shape().as_list())
101
102 @test_util.run_in_graph_and_eager_modes
103 def testNoBias(self):

Callers

nothing calls this directly

Calls 4

denseFunction · 0.85
random_uniformMethod · 0.80
as_listMethod · 0.45
get_shapeMethod · 0.45

Tested by

no test coverage detected