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

Function TestMultipleGeneratedOps

tensorflow/go/op/scope_test.go:147–154  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

145}
146
147func TestMultipleGeneratedOps(t *testing.T) {
148 s := NewScope()
149 Placeholder(s.SubScope("x"), tf.Float)
150 Placeholder(s.SubScope("y"), tf.Float)
151 if _, err := s.Finalize(); err != nil {
152 t.Fatal(err)
153 }
154}
155
156func TestScopeWithGraph(t *testing.T) {
157 s1 := NewScope()

Callers

nothing calls this directly

Calls 4

SubScopeMethod · 0.95
FinalizeMethod · 0.95
NewScopeFunction · 0.85
PlaceholderFunction · 0.70

Tested by

no test coverage detected