Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for returns (0.18 sec)

  1. tensorflow/c/eager/c_api_experimental.h

                                void* device_info) = nullptr;
    
      // Pins the op to `device` based on inputs to `op`. Returns true
      // signifying to pin to the current custom device. Returns false
      // to pin to the physical device.
      //
      // This function is guaranteed to be called only when all of the custom-device
      // inputs are on this 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)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      size_t num_tensors() const { return tensors_.size(); }
      TFE_TensorHandle* tensor(size_t index) const { return tensors_[index].get(); }
    
      // If the `shape` argument to `FromTensorHandles` is specified, returns that.
      //
      // Otherwise if all of the tensors have the same shape, returns that via the
      // `shape` output argument. This blocks waiting for async tensors, may return
    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)
  3. tensorflow/c/c_api_experimental.h

    // needs to be updated with the argument length of the input list.
    // Returns nullptr if there is any problem like op_name is not found, or the
    // argument does not support this attribute type.
    TF_CAPI_EXPORT extern const char* TF_GetNumberAttrForOpListInput(
        const char* op_name, int input_index, TF_Status* status);
    
    // Returns 1 if the op is stateful, 0 otherwise. The return value is undefined
    // if the status is not ok.
    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)
  4. tensorflow/c/experimental/grappler/grappler.h

    // Get a list of input OpInfo::TensorProperties given node name.
    // Return the serialized list `properties`.
    TF_CAPI_EXPORT extern void TF_GetInputPropertiesList(
        TF_GraphProperties* graph_properties, const char* name,
        TF_Buffer** properties, int num_values, TF_Status* status);
    
    // Get a list of output OpInfo::TensorProperties given node name.
    // Return the serialized list `properties`.
    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)
  5. tensorflow/c/eager/tape.h

      if (it == tensor_usage_.end()) {
        return;
      }
      it->second--;
      if (it->second != 0) {
        return;
      }
      tensor_usage_.erase(it);
      auto tensor_op_it = tensor_tape_.find(tensor_id);
      if (tensor_op_it == tensor_tape_.end()) {
        return;
      }
      const int64_t op_id = tensor_op_it->second;
      if (op_id == -1) {
        // Do not delete watched tensors.
        return;
      }
      tensor_tape_.erase(tensor_op_it);
    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)
  6. tensorflow/c/eager/c_api.h

                                                      int dim_index,
                                                      TF_Status* status);
    
    // Returns the device of the operation that produced `h`. If `h` was produced by
    // a copy, returns the destination device of the copy. Note that the returned
    // device name is not always the device holding the tensor handle's memory. If
    // you want the latter, use TFE_TensorHandleBackingDeviceName. This function
    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)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// Accessors for cache parameters.
      size_t block_size() const { return block_size_; }
      size_t max_bytes() const { return max_bytes_; }
      uint64_t max_staleness() const { return max_staleness_; }
    
      /// The current size (in bytes) of the cache.
      size_t CacheSize() const ABSL_LOCKS_EXCLUDED(mu_);
    
      // Returns true if the cache is enabled. If false, the BlockFetcher callback
      // is always executed during Read.
    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)
  8. tensorflow/c/eager/immediate_execution_context.h

      // Find and return a added function by its name.
      virtual const FunctionDef* FindFunctionDef(const string& name) const = 0;
    
      // Find and return a function record added by its name.
      virtual core::RefCountPtr<FunctionRecord> FindRecord(
          const string& name) const = 0;
    
      // Return the ParsedName of Host CPU device.
    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)
Back to top