Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for void (0.14 sec)

  1. tensorflow/c/eager/c_api_experimental.h

        int num_dims, void* data, size_t len,
        void (*deallocator)(void* data, size_t len, void* arg),
        void* deallocator_arg, TF_Status* status);
    
    // Retrieves the address space (i.e. job, replia, task) of the local host and
    // saves it in the buffer.
    TF_CAPI_EXPORT extern void TFE_HostAddressSpace(TFE_Context* ctx,
    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)
  2. tensorflow/c/env.cc

    }
    
    void TF_DefaultThreadOptions(TF_ThreadOptions* options) {
      options->stack_size = 0;
      options->guard_size = 0;
      options->numa_node = -1;
    }
    
    TF_Thread* TF_StartThread(const TF_ThreadOptions* options,
                              const char* thread_name, void (*work_func)(void*),
                              void* param) {
      ::tensorflow::ThreadOptions cc_options;
      cc_options.stack_size = options->stack_size;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 7K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/grappler/grappler.h

      size_t struct_size;
      void* ext;  // reserved for future use
    
      // [Optional]
      // Create function for optimizer.
      void* (*create_func)();
    
      // Optimizer function for optimizer. The first param is an optimizer created
      // by create_func. The second param is input graph. The third param is
      // GrapplerItem. The fourth param is output graph.
      void (*optimize_func)(void*, const TF_Buffer*, const TF_GrapplerItem*,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_unified_experimental.h

    TF_AbstractOp* TF_NewAbstractOp(TF_ExecutionContext* ctx);
    void TF_DeleteAbstractOp(TF_AbstractOp*);
    
    // TODO(srbs): Add APIs for specifying attrs etc.
    // `op_type` must outlive `op`.
    void TF_AbstractOpSetOpType(TF_AbstractOp* op, const char* const op_type,
                                TF_Status* s);
    // `op_name` must outlive `op`.
    void TF_AbstractOpSetOpName(TF_AbstractOp* op, const char* const op_name,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  5. tensorflow/c/c_test_util.cc

    using tensorflow::NodeDef;
    
    static void BoolDeallocator(void* data, size_t, void* arg) {
      delete[] static_cast<bool*>(data);
    }
    
    static void Int32Deallocator(void* data, size_t, void* arg) {
      delete[] static_cast<int32_t*>(data);
    }
    
    static void DoubleDeallocator(void* data, size_t, void* arg) {
      delete[] static_cast<double*>(data);
    }
    
    static void FloatDeallocator(void* data, size_t, void* arg) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  6. tensorflow/c/experimental/grappler/grappler.cc

      PluginGraphOptimizerRegistry::RegisterPluginOptimizerOrDie(
          creator, device_type, configs);
    }
    
    #undef CONFIG_TOGGLE
    
    absl::Status InitGraphPlugin(void* dso_handle) {
      tsl::Env* env = tsl::Env::Default();
    
      // Step 1: Load symbol for `TF_InitPlugin`
      void* dso_symbol;
      TF_RETURN_IF_ERROR(
          env->GetSymbolFromLibrary(dso_handle, "TF_InitGraph", &dso_symbol));
    
      // Step 2: Call `TF_InitPlugin`
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  7. tensorflow/c/eager/immediate_execution_operation.h

      // Set stack trace to be used for potential async error reporting.
      virtual void SetStackTrace(ManagedStackTrace stack_trace) = 0;
    
      virtual const tensorflow::AbstractOpAttrs* GetOpAttrs() const = 0;
      virtual void AddAttrs(const AbstractOpAttrs* op_attrs) = 0;
    
      virtual void SetCancellationManager(
          CancellationManager* cancellation_manager) = 0;
    
    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)
  8. tensorflow/c/eager/c_api_experimental.cc

      }
      return result;
    }
    
    void TFE_MonitoringDeleteIntGauge2(TFE_MonitoringIntGauge2* gauge) {
      delete gauge;
    }
    
    TFE_MonitoringIntGaugeCell* TFE_MonitoringGetCellIntGauge2(
        TFE_MonitoringIntGauge2* gauge, const char* label1, const char* label2) {
      return static_cast<TFE_MonitoringIntGaugeCell*>(
          static_cast<void*>(gauge->gauge->GetCell(label1, label2)));
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  9. tensorflow/c/experimental/next_pluggable_device/c_api.h

    //
    // Caller does not take ownership of the `plugin_resource`.
    TF_CAPI_EXPORT extern void TF_LookupOrCreatePluginResource(
        TF_OpKernelContext* ctx, const char* container_name,
        const char* plugin_resource_name, void** result_plugin_resource,
        void* (*create_func)(void*), void* create_func_args,
        void (*delete_func)(void*), TF_Status* status);
    
    // -------------------------  VariableInfo  ------------------------------------
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.cc

    }
    
    TFE_TensorHandle* TFE_NewTensorHandleFromDeviceMemory(
        TFE_Context* ctx, const char* device_name, TF_DataType dtype,
        const int64_t* dims, int num_dims, void* data, size_t len,
        void (*deallocator)(void* data, size_t len, void* arg),
        void* deallocator_arg, TF_Status* status) {
      tensorflow::Device* device = nullptr;
      tensorflow::EagerContext* context =
          tensorflow::ContextFromInterface(tensorflow::unwrap(ctx));
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
Back to top