Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for we (0.16 sec)

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

                  delete reinterpret_cast<DataType*>(data);
                },
                nullptr),
            TF_DeleteTensor);
        // TODO(allenl): Here and when executing regular operations, we could hold
        // on to one TFE_Op per device and just call TFE_ResetOp to avoid parsing
        // device names repeatedly.
        std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> const_op(
    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/experimental/filesystem/plugins/posix/posix_filesystem.h

    // that provides the filesystem functionality. However, the POSIX filesystem
    // needs to be statically registered in some tests and utilities for building
    // the API files at the time of creating the pip package. Hence, we need to
    // expose this function so that this filesystem can be statically registered
    // when needed.
    void TF_InitPlugin(TF_FilesystemPluginInfo* info);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 20 16:42:12 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // Initializes context for the local worker and no contexts will be created
      // for remote workers. Currently this only works for resetting context.
      // TODO(b/289445025): Consider removing this when we find a proper fix.
      virtual Status InitializeLocalOnlyContext(const ServerDef& server_def,
                                                int keep_alive_secs) = 0;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// `const`.
    ///
    /// For consistency, the arguments on all these functions follow the same
    /// pattern: first we have the opaque pointer argument ("this" above), then the
    /// input arguments, then the in-out arguments (if any) and we finish the
    /// argument list with the out arguments. We only use the return type for an out
    /// parameter if that is a plain C type, as this ensures ABI compatibility
    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)
  5. tensorflow/c/eager/gradients.h

                    std::unique_ptr<GradientFunction>* gradient_function) const;
    
     private:
      absl::flat_hash_map<string, GradientFunctionFactory> registry_;
    };
    
    // TODO(srbs): Figure out if we can avoid declaring this in the public header.
    // Wrapper for a tensor output of an operation executing under a tape.
    //
    // `GetID` returns a unique id for the wrapped tensor which is used to maintain
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.h

    // error information in *status.
    TF_CAPI_EXPORT extern void TFE_ContextOptionsSetConfig(
        TFE_ContextOptions* options, const void* proto, size_t proto_len,
        TF_Status* status);
    
    // 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 {
    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/modular_filesystem.h

    // need for `Env::Default()`. At that time, we might decide to remove the need
    // for `Env::Default()` altogether, but that's a different project, not in
    // scope for now. I'm just mentioning this here as that transition will mean
    // removal of the registration part from `Env` and adding it here instead: we
    // will need tables to hold for each scheme the function tables that implement
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      // is always executed during Read.
      bool IsCacheEnabled() const { return block_size_ > 0 && max_bytes_ > 0; }
    
      // We can not pass a lambda with capture as a function pointer to
      // `TF_StartThread`, so we have to wrap `Prune` inside a static function.
      static void PruneThread(void* param) {
        auto ram_file_block_cache = static_cast<RamFileBlockCache*>(param);
    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)
  9. tensorflow/c/experimental/next_pluggable_device/c_api.h

    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.
    TF_CAPI_EXPORT extern TF_Device* TF_GetDevice(TF_OpKernelContext* ctx);
    
    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)
  10. tensorflow/c/eager/immediate_execution_context.h

      // Update the Eager Executor for current thread.
      virtual void SetExecutorForThread(EagerExecutor* executor) = 0;
    
      // Return a list of local tensorflow::Device*.
      // TODO(tfrt-devs): We shouldn't expose legacy device in this API.
      virtual std::vector<tensorflow::Device*> ListLocalTfDevices() = 0;
    
      // Return a list of all tensorflow::Device*.
      virtual std::vector<tensorflow::Device*> ListAllTfDevices() = 0;
    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