Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for saver_def (0.13 sec)

  1. tensorflow/c/eager/c_api_test_util.h

                               int64_t init_timeout_in_ms);
    
    tensorflow::ServerDef ReplaceTaskInServerDef(
        const tensorflow::ServerDef& server_def, int task_index);
    
    void ReplaceTaskInServerDef(tensorflow::ServerDef* server_def, int task_index,
                                const std::string& host, int port);
    
    std::vector<std::string> ListDeviceNames(TFE_Context* ctx);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 17 23:43:59 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.cc

      tensorflow::ServerDef server_def;
      if (!server_def.ParseFromArray(proto, proto_len)) {
        status->status = tensorflow::errors::InvalidArgument(
            "Invalid tensorflow.ServerDef protocol buffer");
        return;
      }
      status->status =
          tensorflow::unwrap(ctx)
              ->GetDistributedManager()
              ->InitializeLocalOnlyContext(server_def, keep_alive_secs);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/ast.go

    	switch x := x.(type) {
    	case *ast.Expr:
    		switch (*x).(type) {
    		case *ast.SelectorExpr:
    			f.saveRef(x, context)
    		}
    	case *ast.CallExpr:
    		f.saveCall(x, context)
    	}
    }
    
    // Save references to C.xxx for later processing.
    func (f *File) saveRef(n *ast.Expr, context astContext) {
    	sel := (*n).(*ast.SelectorExpr)
    	// For now, assume that the only instance of capital C is when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/immediate_execution_context.h

      // all tasks in the cluster.
      // This call internally coordinates with other tasks to initialize the eager
      // context and TF server for multi-client execution.
      virtual Status EnableCollectiveOps(const ServerDef& server_def) = 0;
    
      // Set a distributed manager that helps set up, update, and check liveness
      // of member tasks in the cluster.
      virtual void SetDistributedManager(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 06 08:34:00 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/aot/tfcompile.bzl

          freeze_checkpoint: If provided, run freeze_graph with this checkpoint to
            convert variables into constants.
          freeze_saver: If provided, run freeze_graph with this saver, in SaverDef
            binary form, to convert variables into constants.
          cpp_class: The name of the generated C++ class, wrapping the generated
            function.  The syntax of this flag is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 19:18:08 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.h

    // overhead and copies.
    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandleFromScalar(
        TF_DataType data_type, void* data, size_t len, TF_Status* status);
    
    // Specify the server_def that enables collective ops.
    // This is different to the above function in that it doesn't create remote
    // contexts, and remotely executing ops is not possible. It just enables
    // communication for collective ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/testdata/chunked_saved_model/chunked_model/saved_model.pbtxt

                    s: "3"
                  }
                }
              }
            }
          }
        }
        versions {
          producer: 1520
          min_consumer: 12
        }
      }
      saver_def {
        filename_tensor_name: "saver_filename:0"
        save_tensor_name: "StatefulPartitionedCall:0"
        restore_op_name: "StatefulPartitionedCall_1"
        version: V2
      }
      collection_def {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 21:43:11 UTC 2023
    - 531.2K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test.cc

    }
    
    tensorflow::ServerDef GetClusterServerDef(const string& worker_job_name,
                                              int num_workers) {
      tensorflow::ServerDef server_def = GetServerDef(worker_job_name, num_workers);
      tensorflow::ClusterDef* cluster_def = server_def.mutable_cluster();
    
      // Add a client.
      tensorflow::JobDef* job_def2 = cluster_def->add_job();
      job_def2->set_name("client");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.cc

    #else
      tensorflow::ServerDef server_def;
      if (!server_def.ParseFromArray(proto, static_cast<int>(proto_len))) {
        status->status = InvalidArgument(
            "Could not parse provided bytes into a ServerDef protocol buffer");
        return nullptr;
      }
    
      std::unique_ptr<tensorflow::ServerInterface> out_server;
      status->status = tensorflow::NewServer(server_def, &out_server);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top