- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for InferShapes (0.34 sec)
-
tensorflow/compiler/jit/shape_inference_test.cc
std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); TF_CHECK_OK(root.ToGraph(graph.get())); GraphShapeInfo shape_info; TF_ASSERT_OK(InferShapes(graph.get(), /*arg_shapes=*/{}, /*fnlib_def=*/nullptr, &shape_info)); std::map<string, std::vector<PartialTensorShape>> expected = {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/jit/shape_inference.h
// `arg_shapes`: user given map from the `index` to shapes of this // node, where `index` is the `index` attribute of `_Arg` op or `_index` // attribute of `Placeholder` op. Status InferShapes(Graph* graph, const std::map<int, InferredShape>& arg_shapes, const tensorflow::FunctionLibraryDefinition* fnlib_def, GraphShapeInfo* shape_info);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/jit/shape_inference.cc
<< DataTypeString(output.handle_type) << " handle_shape " << output.handle_shape.DebugString(); } } return absl::OkStatus(); } } // namespace Status InferShapes(Graph* graph, const std::map<int, InferredShape>& arg_shapes, const tensorflow::FunctionLibraryDefinition* fnlib_def, GraphShapeInfo* shape_info) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 13K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_util.cc
Status PerformStaticShapeInferenceBeforeEncapsulation(Graph* g) { // Perform shape inference. std::map<int, InferredShape> arg_shapes; GraphShapeInfo shape_info; TF_RETURN_IF_ERROR( InferShapes(g, arg_shapes, /*fnlib_def=*/nullptr, &shape_info)); // Add attribute for output shapes. auto node_name_index = g->BuildNodeNameIndex(); for (auto iter : shape_info) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 15.5K bytes - Viewed (0)