- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ShapeAnnotationsMatch (0.3 sec)
-
tensorflow/compiler/jit/shape_inference_test.cc
{"C", {PartialTensorShape()}}, {"D", {PartialTensorShape({2, 3})}}, {"E", {PartialTensorShape()}}, {"F", {PartialTensorShape()}}, {"G", {PartialTensorShape()}}, }; TF_EXPECT_OK(ShapeAnnotationsMatch(*graph, shape_info, expected)); } // Test that shape inference uses user-given `arg_shapes` to propagate shapes. TEST(ShapeInferenceTest, UseArgShapesForVariableBatchSize) {
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/test_util.h
// `expected_shapes`. Returns an error if there are nodes in `expected_shapes` // that do not have shape information. Ignores nodes in `graph` that do not have // `expected_shapes` entries. Status ShapeAnnotationsMatch( const Graph& graph, const GraphShapeInfo& shape_info, std::map<string, std::vector<PartialTensorShape>> expected_shapes); // A helper object to create GraphOptimizationPassOptions.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 16 18:03:15 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/jit/test_util.cc
#include "tensorflow/compiler/jit/shape_inference.h" #include "xla/status_macros.h" #include "tensorflow/core/framework/device_factory.h" #include "tensorflow/core/public/version.h" namespace tensorflow { Status ShapeAnnotationsMatch( const Graph& graph, const GraphShapeInfo& shape_info, std::map<string, std::vector<PartialTensorShape>> expected_shapes) { for (Node* node : graph.op_nodes()) { auto sit = shape_info.find(node->name());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 11:36:41 UTC 2024 - 3.7K bytes - Viewed (0)