Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for define (0.21 sec)

  1. tensorflow/c/experimental/grappler/grappler.h

    //      params->optimizer->struct_size = TP_OPTIMIZER_STRUCT_SIZE;
    //      params->optimizer->create_func = (My_optimizer::create_func);
    //    }
    
    #define GO_MAJOR 0
    #define GO_MINOR 0
    #define GO_PATCH 1
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // TF_TriState is the C API typedef for tri-state.
    typedef enum TF_TriState {
      TF_TriState_Default = 0,
      TF_TriState_Off,
      TF_TriState_On,
    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)
  2. tensorflow/c/eager/c_api.h

    // Controls how to act when we try to run an operation on a given device but
    // some input tensors are not on that device.
    // LINT.IfChange
    // Note: Keep in sync with internal copy of enum in eager/context.h.
    typedef enum TFE_ContextDevicePlacementPolicy {
      // Running operations with input tensors on the wrong device will fail.
      TFE_DEVICE_PLACEMENT_EXPLICIT = 0,
      // Copy the tensor to the right device but log a warning.
      TFE_DEVICE_PLACEMENT_WARN = 1,
    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)
  3. tensorflow/c/eager/c_api_experimental.h

    // tf.device("CUSTOM"):` from Python if `device_name` for this call is
    // "/job:localhost/replica:0/task:0/device:CUSTOM:0".
    //
    // The custom device defines copy operations for moving TensorHandles on and
    // off, and an execution operation for named operations. Often execution will
    // simply wrap op execution on one or more physical devices.
    //
    // device_info is an opaque caller-defined type stored with the custom device
    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/eager/parallel_device/parallel_device_lib.h

      for (int device_index = 0; device_index < num_underlying_devices();
           ++device_index) {
        auto device_value = absl::make_unique<DataType>();
        *device_value = values[device_index];
        std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> tensor(
            TF_NewTensor(
                datatype_enum, /*dims=*/nullptr, /*num_dims=*/0,
                device_value.release(), sizeof(DataType),
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental.h

                                                         int num_values);
    
    // Checks the tensorflow::NodeDef built via the methods above to see if it can
    // run on device_type.
    TF_CAPI_EXPORT extern void TF_AttrBuilderCheckCanRunOnDevice(
        TF_AttrBuilder* builder, const char* device_type, TF_Status* status);
    
    // For argument number input_index, fetch the corresponding number_attr that
    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)
  6. tensorflow/c/eager/tape.h

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_TAPE_H_
    #define TENSORFLOW_C_EAGER_TAPE_H_
    
    // Language-agnostic gradient tape. Does not perform backpropagation, just
    // maintains the data structures required to do so.
    
    #include <stack>
    #include <unordered_map>
    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)
  7. tensorflow/c/eager/immediate_execution_context.h

      // Experimental Custom Device.
      //===--------------------------------------------------------------------===//
      virtual CustomDeviceOpHandler& GetCustomDeviceOpHandler() = 0;
    
      // Returns whether `device_name` is registered as a custom device.
      virtual bool IsCustomDevice(const string& device_name) = 0;
    
      // Register a custom device. It will return error is the device name is
      // already registered.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_RAM_FILE_BLOCK_CACHE_H_
    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_RAM_FILE_BLOCK_CACHE_H_
    
    #include <functional>
    #include <iostream>
    #include <list>
    #include <map>
    #include <memory>
    #include <string>
    #include <vector>
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
Back to top