Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for restoreTable (0.4 sec)

  1. pkg/util/iptables/testing/fake.go

    		return err
    	}
    
    	return f.restoreTable(dump, newTable, flush, counters)
    }
    
    // RestoreAll is part of iptables.Interface
    func (f *FakeIPTables) RestoreAll(data []byte, flush iptables.FlushFlag, counters iptables.RestoreCountersFlag) error {
    	dump, err := ParseIPTablesDump(string(data))
    	if err != nil {
    		return err
    	}
    
    	for i := range dump.Tables {
    		err = f.restoreTable(dump, &dump.Tables[i], flush, counters)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/bundle_v2.cc

        RestoreObjectsCallback callback) {
      // Callback if any attributes or slot variables.
      // Note that the root is always excluded from the search (it can never
      // be a restorable object). This matches some logic on the Python side.
      if (saved_object_node_id != 0 &&
          (trackable_object->attributes_size() > 0 ||
           trackable_object->slot_variables_size() > 0)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 18:28:37 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      mlir::OpBuilder builder(module.getBodyRegion());
      mlir::SymbolTable symbol_table(module);
    
      // Create a side data-structure, indexed by the object_graph node_id to
      // a TrackableObject that is restorable.
      absl::flat_hash_map<int, const TrackableObjectGraph::TrackableObject*>
          restored_objects;
      TF_RETURN_IF_ERROR(saved_model->VisitObjectsToRestore(
          [&](int saved_node_id,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top