Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for fake (0.15 sec)

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

      TF_DataType datatype_enum(
          static_cast<TF_DataType>(DataTypeToEnum<DataType>().value));
      for (int device_index = 0; device_index < num_underlying_devices();
           ++device_index) {
        auto device_value = absl::make_unique<DataType>();
        *device_value = values[device_index];
        std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> tensor(
            TF_NewTensor(
                datatype_enum, /*dims=*/nullptr, /*num_dims=*/0,
    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/c_api.h

    //   TF_Output values_inputs[5] = {{...}, ..., {...}};
    //   TF_AddInputList(desc, values_inputs, 5);
    
    // For inputs that take a single tensor.
    TF_CAPI_EXPORT extern void TF_AddInput(TF_OperationDescription* desc,
                                           TF_Output input);
    
    // For inputs that take a list of tensors.
    // inputs must point to TF_Output[num_inputs].
    TF_CAPI_EXPORT extern void TF_AddInputList(TF_OperationDescription* desc,
    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)
  3. tensorflow/c/eager/c_api.h

    //
    // Very similar to TF_OperationDescription with some differences:
    // (1) TF_Output or TFE_TensorHandle* as arguments to TF_AddInput,
    //     TF_AddInputList
    // (2) TF_ColocateWith, TF_AddControlInput etc. do not make sense.
    // (3) Implementation detail: Avoid use of NodeBuilder/NodeDefBuilder since
    //     the additional sanity checks there seem unnecessary;
    typedef struct TFE_Op TFE_Op;
    
    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)
  4. tensorflow/c/eager/abstract_tensor_handle.h

    namespace internal {
    struct AbstractTensorHandleDeleter {
      void operator()(AbstractTensorHandle* p) const {
        if (p != nullptr) {
          p->Unref();
        }
      }
    };
    }  // namespace internal
    
    // TODO(b/185908092): Make AbstractTensorHandlePtr an IntrusivePtr.
    using AbstractTensorHandlePtr =
        std::unique_ptr<AbstractTensorHandle,
                        internal::AbstractTensorHandleDeleter>;
    
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 03 00:30:36 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/gradients_internal.h

    Status SetAttrFunctionList(AbstractOperation*, const char* attr_name,
                               absl::Span<const AbstractOperation*> values,
                               ForwardOperation*);
    
    // Make the call to `Tape::RecordOperation`.
    Status Execute(AbstractOperation*, AbstractContext*,
                   absl::Span<AbstractTensorHandle*> retvals, int* num_retvals,
                   ForwardOperation*, Tape*, const GradientRegistry&);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:35 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_unified_experimental_internal.h

      virtual Status AddParameter(DataType dtype, const PartialTensorShape& shape,
                                  TracingTensorHandle**) = 0;
    
      // Finalize this context and make a function out of it. The context is in a
      // invalid state after this call and must be destroyed.
      virtual Status Finalize(OutputList* outputs, AbstractFunction**) = 0;
    
      // For LLVM style RTTI.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      void MaybeFetch(const Key& key, const std::shared_ptr<Block>& block,
                      TF_Status* status) ABSL_LOCKS_EXCLUDED(mu_);
    
      /// Trim the block cache to make room for another entry.
      void Trim() ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_);
    
      /// Update the LRU iterator for the block at `key`.
      void UpdateLRU(const Key& key, const std::shared_ptr<Block>& block,
    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/experimental/filesystem/filesystem_interface.h

    typedef struct TF_Filesystem_Option_Value {
      int type_tag;    // type of values in the values union
      int num_values;  // number of values
      TF_Filesystem_Option_Value_Union*
          values;  // owned (plugins must make a copy if storing this)
    } TF_Filesystem_Option_Value;
    
    typedef enum TF_Filesystem_Option_Type {
      TF_Filesystem_Option_Type_Int = 0,
      TF_Filesystem_Option_Type_Real,
      TF_Filesystem_Option_Type_Buffer,
    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