- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for PerformStaticShapeInferenceBeforeEncapsulation (0.81 sec)
-
tensorflow/compiler/jit/encapsulate_util_test.cc
Output identity = ops::Identity(s.WithOpName("identity"), add); Graph g(OpRegistry::Global()); TF_CHECK_OK(s.ToGraph(&g)); TF_CHECK_OK(PerformStaticShapeInferenceBeforeEncapsulation(&g)); // Check that "add" node now has _xla_inferred_shapes attr. auto node_index = g.BuildNodeNameIndex(); Node *add_node = node_index["add"]; std::vector<PartialTensorShape> output_shapes;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 05 22:06:22 UTC 2019 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_util.h
// encapsulation, some nodes will be encapsulated into function call, and shape // inference does not handle function call at the moment. Status PerformStaticShapeInferenceBeforeEncapsulation(Graph* g); // Attribute indicating that some ops in this node's XLA computation has control // dependency on this node. Attribute value will always be "true".
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 7.4K bytes - Viewed (0)