Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for inside (0.23 sec)

  1. tensorflow/c/c_api.h

    // - `inputs` and `outputs` cannot have reference types. Reference types are
    //   not exposed through C API and are being replaced with Resources. We support
    //   reference types inside function's body to support legacy code. Do not
    //   use them in new code.
    // - Every node in the function's body must have all of its inputs (including
    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)
  2. tensorflow/c/eager/gradient_checker.h

    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/eager/unified_api_testutil.h"
    
    namespace tensorflow {
    namespace gradients {
    
    /* Returns numerical grad inside `dtheta_approx` given `forward` model and
     * parameter specified by `input_index`.
     *
     * I.e. if y = <output of the forward model> and w = inputs[input_index],
     * this will calculate dy/dw numerically.
     *
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 02:34:32 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/abstract_operation.h

    };
    
    // TODO(b/193656009): Defining these in a cc file causes linker errors with
    // fastbuild.
    inline Status AbstractOperation::SetAttrShape(const char* attr_name,
                                                  const PartialTensorShape shape) {
      return SetAttrShape(attr_name, shape.dim_sizes().data(), shape.dims());
    }
    
    inline Status AbstractOperation::SetAttrStringList(
        const char* attr_name, absl::Span<string const> values) {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  4. tensorflow/c/conversion_macros.h

      inline cpp_impl *unwrap(wrapper *w) {                                        \
        return reinterpret_cast<cpp_impl *>(w);                                    \
      }                                                                            \
                                                                                   \
      inline const cpp_impl *unwrap(const wrapper *w) {                            \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon May 04 16:24:03 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

      };
      // A deque-backed stack, whose element references are not invalidated by
      // pushes and pops at the back.
      std::stack<AccumulatorCallState> call_state_;
    };
    
    // Template instantiations here
    
    inline bool IsDtypeTrainable(DataType dtype) {
      switch (dtype) {
        case DT_HALF:
        case DT_BFLOAT16:
        case DT_FLOAT:
        case DT_DOUBLE:
        case DT_COMPLEX64:
        case DT_COMPLEX128:
    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/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      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);
        ram_file_block_cache->Prune();
      }
    
     private:
    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)
  7. tensorflow/c/c_api_internal.h

    // Set whether to propagate assigned device information when constructing a new
    // Graph from a GraphDef. By default assigned device information is not copied
    // and is re-computed by the runtime.
    inline void TF_ImportGraphDefOptionsSetPropagateDeviceSpec(
        TF_ImportGraphDefOptions* opts, unsigned char propagate_device_spec) {
      opts->opts.propagate_device_spec = propagate_device_spec;
    }
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/filesystem_interface.h

      void* plugin_filesystem;
    } TF_Filesystem;
    
    typedef struct TF_TransactionToken {
      void* token;
      TF_Filesystem* owner;
    } TF_TransactionToken;
    
    // The named union is needed here (as opposed to
    // inside the `TF_Filesystem_Option_Value` struct)
    // as MSVC does not recognize `typeof`.
    typedef union TF_Filesystem_Option_Value_Union {
      int64_t int_val;
      double real_val;
      struct {
        char* buf;
        int buf_length;
    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)
Back to top