Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for passed (0.25 sec)

  1. tensorflow/c/env.h

    // Returns a new thread that is running work_func and is identified
    // (for debugging/performance-analysis) by thread_name.
    //
    // The given param (which may be null) is passed to work_func when the thread
    // starts. In this way, data may be passed from the thread back to the caller.
    //
    // Caller takes ownership of the result and must call TF_JoinThread on it
    // eventually.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device.h

    // TPUReplicatedOutput(input=x, num_replicas=2)` un-packs the parallel tensor
    // into its components.
    //
    // The filled `device` struct and the allocated `device_info` struct may be
    // passed to TFE_RegisterCustomDevice. The `device_name` arguments must match.
    void AllocateParallelDevice(const char* device_name,
                                const char* const* underlying_devices,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jun 04 21:49:16 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.h

      // here. This is the default behavior if `pack` is null when passed to
      // TFE_RegisterCustomDevice.
      TFE_TensorHandle* (*pack)(TFE_Context* context, TFE_TensorHandle** handles,
                                int num_handles, TF_Status* s,
                                void* device_info) = nullptr;
    
      // Pins the op to `device` based on inputs to `op`. Returns true
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

    //
    // Conventions:
    // * We use the prefix TF_ for everything in the API.
    // * Objects are always passed around as pointers to opaque structs
    //   and these structs are allocated/deallocated via the API.
    // * TF_Status holds error information.  It is an object type
    //   and therefore is passed around as a pointer to an opaque
    //   struct as mentioned above.
    // * Every call that has a TF_Status* argument clears it on success
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  5. src/cmd/cgo/internal/test/callback_c.c

    }
    
    int
    returnAfterGrowFromGo(void)
    {
    	extern int goReturnVal(void);
    	return goReturnVal();
    }
    
    void
    callGoWithString(void)
    {
    	extern void goWithString(GoString);
    	const char *str = "string passed from C to Go";
    	goWithString((GoString){str, strlen(str)});
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 933 bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.h

        unsigned char enable);
    TF_CAPI_EXPORT unsigned char TF_SetTfXlaCpuGlobalJit(unsigned char enable);
    
    // Sets XLA's auto jit mode according to the specified string, which is parsed
    // as if passed in XLA_FLAGS. This has global effect.
    TF_CAPI_EXPORT void TF_SetXlaAutoJitMode(const char* mode);
    
    // Returns whether the single GPU or general XLA auto jit optimizations are
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/tape.h

      // a tensor with the result.
      virtual Gradient* AggregateGradients(
          gtl::ArraySlice<Gradient*> gradient_tensors) const = 0;
    
      // Calls the passed-in backward function.
      //
      // `unneeded_gradients` contains sorted list of input indices for which a
      // gradient is not required.
      virtual Status CallBackwardFunction(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  8. tensorflow/c/experimental/next_pluggable_device/c_api.h

    #endif
    
    // TF_Device is a C wrapper to the C++ TF Device class. This is to be passed
    // through TF_OpKernelContext, and is opaque to plugin.
    typedef struct TF_Device TF_Device;
    
    typedef struct TF_VariableInfo TF_VariableInfo;
    
    // Returns a `TF_Device` pointer, which actually points to a C++ `Device`.
    // Currently we only allow `NextPluggableDevice` to be casted as `TF_Device`,
    // but in theory every this is a C API for every kind of device.
    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)
  9. tensorflow/c/eager/c_api.h

    // Disables tracing of RunMetadata on the ops executed from this context.
    TF_CAPI_EXPORT extern void TFE_ContextDisableRunMetadata(TFE_Context* ctx);
    
    // Populates the passed-in buffer with a serialized RunMetadata protocol buffer
    // containing any run metadata information accumulated so far and clears this
    // information.
    // If async mode is enabled, this call blocks till all currently pending ops are
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

                                           TF_Filesystem_Option** options,
                                           int* num_options, TF_Status* status);
    
      /// Updates filesystem configuration with options passed in `options`. It can
      /// contain full set of options supported by the filesystem or just a subset
      /// of them. Ownership of options and buffers therein belongs to the caller
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top