Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Bool (0.15 sec)

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

      GCSFile(google::cloud::storage::Client&& gcs_client, bool compose,
              uint64_t block_size, size_t max_bytes, uint64_t max_staleness,
              uint64_t stat_cache_max_age, size_t stat_cache_max_entries);
    } GCSFile;
    
    // This function is used to initialize a filesystem without the need of setting
    // manually environement variables.
    void InitTest(TF_Filesystem* filesystem, bool compose, uint64_t block_size,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test_util.h

    // Return a tensor handle containing a int scalar
    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, int value);
    
    // Return a tensor handle containing a bool scalar
    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, bool value);
    
    // Return a tensor handle containing a tstring scalar
    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  3. tensorflow/c/env.h

    // and false is returned.
    //
    // Ownership of the items retrieved with this function remains with the library.
    // Item points are invalidated after a call to TF_StringStreamDone.
    TF_CAPI_EXPORT extern bool TF_StringStreamNext(TF_StringStream* list,
                                                   const char** result);
    
    // Frees the resources associated with given string list. All pointers returned
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // A sequence of thread wrappers, one per device, for executing operations in
      // parallel.
      //
      // Conceptually this is a thread pool with one thread per device. It requires
      // less synchronization than a thread pool would for this task, since Execute
      // acquires each thread in order (and so only one Execute will schedule
      // blocking collective operations at a time), and avoids some dynamic
    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)
  5. tensorflow/c/c_api.h

    // * unsigned char is used for booleans (instead of the 'bool' type).
    //   In C++ bool is a keyword while in C99 bool is a macro defined
    //   in stdbool.h. It is possible for the two to be inconsistent.
    //   For example, neither the C99 nor the C++11 standard force a byte
    //   size on the bool type, so the macro defined in stdbool.h could
    //   be inconsistent with the bool keyword in C++. Thus, the use
    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)
  6. tensorflow/c/eager/tfe_monitoring_internal.h

    };
    
    struct TFE_MonitoringBoolGauge0 : TFE_MonitoringGauge<bool, 0> {
      using TFE_MonitoringGauge::TFE_MonitoringGauge;
    };
    struct TFE_MonitoringBoolGauge1 : TFE_MonitoringGauge<bool, 1> {
      using TFE_MonitoringGauge::TFE_MonitoringGauge;
    };
    struct TFE_MonitoringBoolGauge2 : TFE_MonitoringGauge<bool, 2> {
      using TFE_MonitoringGauge::TFE_MonitoringGauge;
    };
    
    struct TFE_MonitoringBuckets {
    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)
  7. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // `keep_alive_secs` of inactivity.
      virtual Status SetOrUpdateServerDef(const ServerDef& server_def,
                                          bool reset_context, int keep_alive_secs,
                                          int64_t init_timeout_in_ms, int retries,
                                          bool clear_existing_contexts = false) = 0;
    
      // Initializes context for the local worker and no contexts will be created
    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)
  8. tensorflow/c/eager/c_api_internal.h

      // true if async execution is enabled.
      bool async = false;
      TFE_ContextDevicePlacementPolicy device_placement_policy{
          TFE_DEVICE_PLACEMENT_SILENT};
      // If true, use TFRT backend
      bool use_tfrt = false;
      // Whether to run elementary eager ops wrapped in a call op.
      bool run_eager_op_as_function = false;
      // Whether to rewrite jit_compile functions.
      bool jit_compile_rewrite = false;
    };
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 18 19:26:34 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

      // Hint: use c.release()() to run early.
      F release() {
        released_ = true;
        return std::move(f_);
      }
    
      bool is_released() const { return released_; }
    
     private:
      static_assert(!std::is_reference<F>::value, "F must not be a reference");
    
      bool released_ = false;
      F f_;
    };
    
    template <int&... ExplicitParameterBarrier, typename F,
              typename DecayF = typename std::decay<F>::type>
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  10. tensorflow/c/eager/tape.h

      explicit GradientTape(bool persistent) : persistent_(persistent) {}
      ~GradientTape() {
        for (const auto& pair : op_tape_) {
          pair.second.backward_function_deleter(pair.second.backward_function);
        }
      }
    
      // Returns whether any tensor in a list of tensors is being watched and has
      // a trainable dtype.
      bool ShouldRecord(absl::Span<const int64_t> tensor_ids,
    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)
Back to top