Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for devices (0.21 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      std::unique_ptr<ParallelTensor> DeviceIDs(TFE_Context* context,
                                                TF_Status* status) const;
    
      // The number of devices operations run on.
      size_t num_underlying_devices() const { return underlying_devices_.size(); }
    
      // The devices operations run on.
      const std::vector<std::string>& underlying_devices() const {
        return underlying_devices_;
    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)
  2. tensorflow/c/eager/parallel_device/parallel_device.h

    void AllocateParallelDevice(const char* device_name,
                                const char* const* underlying_devices,
                                int num_underlying_devices,
                                TFE_CustomDevice* device, void** device_info);
    
    }  // namespace parallel_device
    }  // namespace tensorflow
    
    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/parallel_device/parallel_device_testlib.h

    }
    
    template <std::size_t num_devices>
    void RegisterParallelDevice(
        TFE_Context* context, const char* device_name,
        const std::array<const char*, num_devices>& underlying_devices,
        TF_Status* status) {
      TFE_CustomDevice device;
      void* device_info;
      tensorflow::parallel_device::AllocateParallelDevice(
          device_name, underlying_devices.data(), underlying_devices.size(),
          &device, &device_info);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental.h

    //
    // `device_name` must not name an existing physical or custom device. It must
    // follow the format:
    //
    //    /job:<name>/replica:<replica>/task:<task>/device:<type>:<device_num>
    //
    // If the device is successfully registered, `status` is set to TF_OK. Otherwise
    // the device is not usable. In case of a bad status, `device.delete_device` is
    // still called on `device_info` (i.e. the caller does not retain ownership).
    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)
  5. tensorflow/c/c_api.h

        TF_ImportGraphDefOptions* opts, const char* prefix);
    
    // Set the execution device for nodes in `graph_def`.
    // Only applies to nodes where a device was not already explicitly specified.
    // `device` is copied and has no lifetime requirements.
    TF_CAPI_EXPORT extern void TF_ImportGraphDefOptionsSetDefaultDevice(
        TF_ImportGraphDefOptions* opts, const char* device);
    
    // Set whether to uniquify imported operation names. If true, imported operation
    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)
  6. tensorflow/c/eager/immediate_execution_tensor_handle.h

      // devices.
      virtual Status Dim(int dim_index, int64_t* dim) const = 0;
    
      // Returns the device which created the handle.
      virtual const char* DeviceName(Status* status) const = 0;
      // Returns the device where the tensor was placed.
      virtual const char* BackingDeviceName(Status* status) const = 0;
      // Returns the device type which created the handle.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/c/c_api_experimental.h

    // b) ConfigProto.gpu_options.allow_growth is set to `gpu_memory_allow_growth`.
    // c) ConfigProto.device_count is set to `num_cpu_devices`.
    TF_CAPI_EXPORT extern TF_Buffer* TF_CreateConfig(
        unsigned char enable_xla_compilation, unsigned char gpu_memory_allow_growth,
        unsigned int num_cpu_devices);
    
    // Create a serialized tensorflow.RunOptions proto, where RunOptions.trace_level
    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)
  9. tensorflow/c/eager/immediate_execution_context.h

      virtual bool UsesTFRT() = 0;
    
      // List attributes of available devices
      virtual void ListDevices(std::vector<DeviceAttributes>* devices) = 0;
    
      // Add `devices` into context's device manager. Context's device manager
      // will take ownership and maintain devices' lifetime.
      virtual Status AddDevices(std::vector<std::unique_ptr<Device>> devices) = 0;
    
      // Block until all pending nodes are finished.
    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)
  10. tensorflow/c/eager/c_api_test_util.h

    // `send_device`, `recv_device`, and `send_device_incarnation` set.
    TFE_Op* SendOp(TFE_Context* ctx, TFE_TensorHandle* in,
                   const std::string& op_name, const std::string& send_device,
                   const std::string& recv_device,
                   tensorflow::uint64 send_device_incarnation);
    
    // Return a RecvOp op `op_name` with the attributes `send_device`,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
Back to top