Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for node_size (0.09 sec)

  1. tensorflow/cc/saved_model/bundle_v2.cc

      }
    
      return absl::OkStatus();
    }
    
    absl::Status SavedModelV2Bundle::VisitObjectsToRestore(
        RestoreObjectsCallback callback) {
      if (saved_object_graph().nodes_size() == 0 ||
          trackable_object_graph().nodes_size() == 0) {
        return absl::OkStatus();
      }
    
      // Start from root nodes of both the SavedObjectGraph and TrackableObjectGraph
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 18:28:37 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/bundle_v2_test.cc

      SavedModelV2Bundle bundle;
      TF_ASSERT_OK(SavedModelV2Bundle::Load(export_dir, &bundle));
    
      // Ensure that there are nodes in the trackable_object_graph.
      EXPECT_GT(bundle.trackable_object_graph().nodes_size(), 0);
    
      RestoreVarsAndVerify(&bundle, {"variable_x", "variable_y", "child_variable"});
    }
    
    TEST_F(BundleV2Test, LoadsCyclicModule) {
      const std::string export_dir =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 17:51:15 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top