Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for cdef (0.16 sec)

  1. tensorflow/c/eager/graph_function.h

    // Thin wrapper around a FunctionDef.
    class GraphFunction : public AbstractFunction {
     public:
      explicit GraphFunction(FunctionDef fdef);
      ~GraphFunction() override;
    
      // GraphFunction maybe stay alive for the duration of the returned
      // FunctionDef.
      Status GetFunctionDef(const FunctionDef** fdef) override;
    
      // Returns a shared reference to the wrapped function.
      absl::StatusOr<core::RefCountPtr<FunctionRecord>> GetFunctionRecord()
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // on cluster configurations provided in `server_def`; otherwise, update
      // existing context state with the provided `server_def`. Contexts created
      // on remote tasks will be considered stale and garbage collected after
      // `keep_alive_secs` of inactivity.
      virtual Status SetOrUpdateServerDef(const ServerDef& server_def,
                                          bool reset_context, int keep_alive_secs,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.h

    // Add a function (serialized FunctionDef protocol buffer) to ctx so
    // that it can be invoked using TFE_Execute.
    TF_CAPI_EXPORT extern void TFE_ContextAddFunctionDef(
        TFE_Context* ctx, const char* serialized_function_def, size_t size,
        TF_Status* status);
    
    // Adds a function (created from TF_GraphToFunction or
    // TF_FunctionImportFunctionDef) to the context, allowing it to be executed with
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  4. tensorflow/c/eager/immediate_execution_operation.h

    #include "tensorflow/c/tensor_interface.h"
    #include "tensorflow/core/framework/cancellation.h"
    #include "tensorflow/core/framework/device_attributes.pb.h"
    #include "tensorflow/core/framework/op_def.pb.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/util/managed_stack_trace.h"
    
    struct TFE_Op;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental.h

        TFE_Context* ctx, int keep_alive_secs, const void* proto, size_t proto_len,
        int64_t init_timeout_in_ms, TF_Status* status,
        bool clear_existing_contexts);
    
    // Set server def with retries and timeout. This is helpful for fault-tolerant
    // initial connection in high-preemption environments, such as
    // ParameterServerStrategy training.
    // This API is for experimental usage and may be subject to change.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_internal.h

          :
    #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
            api_def_map(op_list),
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
            update_docs_called(false) {
      }
    
    #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
      tensorflow::ApiDefMap api_def_map TF_GUARDED_BY(lock);
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/grappler/grappler_internal.h

      Status Init(
          const tensorflow::RewriterConfig_CustomGraphOptimizer* config) override {
        return OkStatus();
      }
      Status Optimize(Cluster* cluster, const GrapplerItem& item,
                      GraphDef* optimized_graph_def) override;
    
      ~CGraphOptimizer() override {
        if (optimizer_.destroy_func != nullptr) {
          (*optimizer_.destroy_func)(c_optimizer_);
        }
      }
    
     private:
      TP_Optimizer optimizer_;
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Jun 08 08:58:23 GMT 2022
    - 3.5K bytes
    - Viewed (1)
  8. tensorflow/c/c_api.h

    // message) to `output_graph_def` (allocated by TF_NewBuffer()).
    // `output_graph_def`'s underlying buffer will be freed when TF_DeleteBuffer()
    // is called.
    //
    // May fail on very large graphs in the future.
    TF_CAPI_EXPORT extern void TF_GraphToGraphDef(TF_Graph* graph,
                                                  TF_Buffer* output_graph_def,
                                                  TF_Status* status);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  9. tensorflow/c/eager/c_api_test_util.h

    TFE_Context* CreateContext(const std::string& serialized_server_def,
                               bool isolate_session_state,
                               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);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/abstract_context.h

      // available to be called/referenced by its name in this context.
      virtual Status RegisterFunction(AbstractFunction*) = 0;
      // Remove a function. 'func' argument is the name of a previously added
      // FunctionDef. The name is in fdef.signature.name.
      virtual Status RemoveFunction(const string& func) = 0;
    
     private:
      const AbstractContextKind kind_;
    };
    
    namespace internal {
    struct AbstractContextDeleter {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
Back to top