Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for intro (0.18 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

        }
    
        // Note: we hold onto mu_ for the rest of this function. In practice, this
        // is okay, as stat requests are typically fast, and concurrent requests are
        // often for the same file. Future work can split this up into one lock per
        // key if this proves to be a significant performance bottleneck.
        absl::MutexLock lock(&mu_);
        if (LookupLocked(key, value)) {
          return TF_SetStatus(status, TF_OK, "");
        }
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.h

    // Disables only graph collection in RunMetadata on the functions executed from
    // this context.
    TF_CAPI_EXPORT extern void TFE_ContextDisableGraphCollection(TFE_Context* ctx);
    
    // TODO(fishx): Move these monitoring APIs into a separate file.
    // -----------------------------------------------------------------------------
    // Monitoring Counter APIs.
    // These APIs de-templated monitoring Counter for swig.
    
    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)
  3. tensorflow/c/c_api.h

    //
    // Returns an error into `status` if:
    //   * `output` is not in `graph`.
    TF_CAPI_EXPORT extern int TF_GraphGetTensorNumDims(TF_Graph* graph,
                                                       TF_Output output,
                                                       TF_Status* status);
    
    // Returns the shape of the Tensor referenced by `output` in `graph`
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  4. tensorflow/c/eager/parallel_device/parallel_device.h

    // parallel device creates a parallel tensor `x` with `a` on the first of
    // `underlying_devices` and `b` on the second. Running `a_unpacked, b_unpacked =
    // 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,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jun 04 21:49:16 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

    void ExtractPerDeviceValues(
        TFE_Context* context, TFE_TensorHandle* input,
        std::array<TensorHandlePtr, num_replicas>* components, TF_Status* status);
    
    // Helper to pack `num_replicas` TFE_TensorHandles into one parallel handle.
    template <std::size_t num_replicas>
    TensorHandlePtr CreatePerDeviceValues(
        TFE_Context* context,
        const std::array<TFE_TensorHandle*, num_replicas>& components,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // ParallelDevice, and in turn runs one operation per component device with
      // its corresponding inputs from the input ParallelTensors. Wraps the
      // resulting per-device and per-output TFE_TensorHandles into one
      // ParallelTensor per output of the original operation.
      //
      // Attributes are forwarded to executed operations unmodified.
      //
      // The returned optional has a value if and only if `status` evaluates to
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_context.h

      // code that is layered on top of the runtime.
      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;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/c/c_test_util.h

    TF_Operation* RandomUniform(TF_Operation* shape, TF_DataType dtype,
                                TF_Graph* graph, TF_Status* s);
    
    // Split `input` along the first dimension into 3 tensors
    TF_Operation* Split3(TF_Operation* input, TF_Graph* graph, TF_Status* s,
                         const char* name = "split3");
    
    bool IsPlaceholder(const tensorflow::NodeDef& node_def);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

          // Destroying pruning_thread_ will block until Prune() receives the above
          // notification and returns.
          pruning_thread_.reset();
        }
      }
    
      /// Read `n` bytes from `filename` starting at `offset` into `buffer`. It
      /// returns total bytes read ( -1 in case of errors ). This method will set
      /// `status` to:
      ///
      /// 1) The error from the remote filesystem, if the read from the remote
      ///    filesystem failed.
    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)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// this file to ensure a compliant plugin can be built and that the plugin can
    /// be used without recompilation in the widest range of TensorFlow versions.
    ///
    /// The header is divided into sections, as follows:
    ///   1. Opaque plugin private data structures and wrappers for type safety;
    ///   2. Function tables for plugin functionality;
    ///   3. Versioning metadata;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top