Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 108 for void (0.12 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem.h

      std::unique_ptr<const TF_ReadOnlyMemoryRegionOps>
          read_only_memory_region_ops_;
      std::function<void*(size_t)> plugin_memory_allocate_;
      std::function<void(void*)> plugin_memory_free_;
      ModularFileSystem(const ModularFileSystem&) = delete;
      void operator=(const ModularFileSystem&) = delete;
    };
    
    class ModularRandomAccessFile final : public RandomAccessFile {
     public:
    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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    static inline void TF_SetStatusFromGCSStatus(
        const google::cloud::Status& gcs_status, TF_Status* status) {
      TF_SetStatus(status, static_cast<TF_Code>(gcs_status.code()),
                   gcs_status.message().c_str());
    }
    
    static void* plugin_memory_allocate(size_t size) { return calloc(1, size); }
    static void plugin_memory_free(void* ptr) { free(ptr); }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/tfe_monitoring_internal.h

    };
    
    struct TFE_MonitoringBuckets {
      explicit TFE_MonitoringBuckets(
          std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)>
              fn) {
        create_buckets = fn;
      }
    
      std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)>
          create_buckets;
    };
    
    struct TFE_MonitoringSamplerCell {
      tensorflow::monitoring::SamplerCell cell;
    };
    
    template <int NumLabels>
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  4. tensorflow/c/c_test_util.h

      explicit CSession(TF_Session* session);
    
      ~CSession();
    
      void SetInputs(std::vector<std::pair<TF_Operation*, TF_Tensor*>> inputs);
      void SetOutputs(std::initializer_list<TF_Operation*> outputs);
      void SetOutputs(const std::vector<TF_Output>& outputs);
      void SetTargets(std::initializer_list<TF_Operation*> targets);
    
      void Run(TF_Status* s);
    
      void CloseAndDelete(TF_Status* s);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// 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,
                     TF_Status* status) ABSL_LOCKS_EXCLUDED(mu_);
    
      /// Remove all blocks of a file, with mu_ already held.
      void RemoveFile_Locked(const std::string& filename)
    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)
  6. tensorflow/c/env_test.cc

      ASSERT_GE(TF_NowNanos(), 946684800 * 1e9);
    }
    
    namespace {
    
    struct SomeThreadData {
      ::tensorflow::mutex mu;
      bool did_work = false;
    };
    
    void SomeThreadFunc(void* data) {
      auto* real_data = static_cast<SomeThreadData*>(data);
      ::tensorflow::mutex_lock l(real_data->mu);
      real_data->did_work = true;
    }
    
    }  // namespace
    
    TEST(TestEnv, TestThreads) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/filesystem_interface.h

    typedef struct TF_RandomAccessFile {
      void* plugin_file;
    } TF_RandomAccessFile;
    
    typedef struct TF_WritableFile {
      void* plugin_file;
    } TF_WritableFile;
    
    typedef struct TF_ReadOnlyMemoryRegion {
      void* plugin_memory_region;
    } TF_ReadOnlyMemoryRegion;
    
    typedef struct TF_Filesystem {
      void* plugin_filesystem;
    } TF_Filesystem;
    
    typedef struct TF_TransactionToken {
      void* token;
      TF_Filesystem* owner;
    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)
  8. tensorflow/c/eager/tfe_op_attrs_internal.h

    typedef struct TFE_Op TFE_Op;
    
    namespace tensorflow {
    DEFINE_CONVERSION_FUNCTIONS(tensorflow::AbstractOpAttrs, TFE_OpAttrs);
    
    // Set an AttrValue on the op. Doesn't handle the list types.
    void SetOpAttrValueScalar(TFE_Context* ctx, TFE_Op* op,
                              const tensorflow::AttrValue& default_value,
                              const char* attr_name, TF_Status* status);
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 10 05:41:19 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradients.h

      // watched inputs.
      void Watch(const AbstractTensorHandle*);
      // Records an operation with given inputs and outputs
      // on the tape and marks all its outputs as watched if at
      // least one input of the op is watched and has a trainable dtype.
      // op_name is optional and is used for debugging only.
      void RecordOperation(absl::Span<AbstractTensorHandle* const> inputs,
    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)
  10. tensorflow/c/c_api_experimental.h

    TF_CAPI_EXPORT extern TF_AttrBuilder* TF_NewAttrBuilder(const char* op_name);
    TF_CAPI_EXPORT extern void TF_DeleteAttrBuilder(TF_AttrBuilder* builder);
    TF_CAPI_EXPORT extern void TF_AttrBuilderSetType(TF_AttrBuilder* builder,
                                                     const char* attr_name,
                                                     TF_DataType value);
    TF_CAPI_EXPORT extern void TF_AttrBuilderSetTypeList(TF_AttrBuilder* builder,
    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)
Back to top