Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for true (0.18 sec)

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

      // Delete the entry with key `key`. Return true if the entry was found for
      // `key`, false if the entry was not found. In both cases, there is no entry
      // with key `key` existed after the call.
      bool Delete(const std::string& key) {
        absl::MutexLock lock(&mu_);
        return DeleteLocked(key);
      }
    
      /// Look up the entry with key `key` and copy it to `value` if found. Returns
    C
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/grappler/grappler.h

        TF_GraphProperties* graph_properties);
    
    // Infer tensor shapes through abstract interpretation.
    // If assume_valid_feeds is true, it can help infer shapes in the fanout of fed
    // nodes. This may cause incorrectness in graph analyses, but is useful for
    // simulation or scheduling.
    // If aggressive_shape_inference is true, nodes are executed on the host to
    // identify output values when possible and does other aggressive strategies.
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradient_checker.h

     * 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.
     *
     * `use_function` indicates whether to use graph mode(true) or eager(false).
     *
     * `numerical_grad` is the pointer to the AbstractTensorHandle* which will
     * hold the numerical gradient data at the end of the function.
     */
    Status CalcNumericalGrad(AbstractContext* ctx, Model forward,
    C
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 02:34:32 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/c/eager/immediate_execution_operation.h

                              ImmediateExecutionTensorHandle* input) = 0;
    
      virtual ImmediateExecutionContext* GetContext() const = 0;
    
      // Following two methods are used to support custom device.
      // Return true if the inputs contain custom device tensor handle. It means
      // that the argument need to be handled by a custom device.
      virtual bool HasCustomDeviceInput() const = 0;
    
      virtual const tensorflow::OpDef* OpDef() const = 0;
    
    C
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental.h

    // Creates a new eager Executor. Nodes in one executor are guaranteed to be
    // executed in sequence. Assigning nodes to different executors allows executing
    // nodes in parallel.
    // in_flight_nodes_limit: when is_async is true, this value controls the
    // maximum number of in flight async nodes. Enqueuing of additional async ops
    // after the limit is reached blocks until some inflight nodes finishes.
    C
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // `StartExecute`s will deadlock).
      //
      // If `is_async=false` (constructor argument), `cancellation_manager` must
      // live until `Join` finishes. If `is_async=true` it must live until `Join` is
      // followed by `TFE_ContextAsyncWait` to clear pending operations. It will be
      // used to cancel all other operations if any fails.
      //
    C
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_test_util.h

    // Return an op taking minimum of `input` long `axis` dimension.
    TFE_Op* MinOp(TFE_Context* ctx, TFE_TensorHandle* input,
                  TFE_TensorHandle* axis);
    
    // If there is a device of type `device_type`, returns true
    // and sets 'device_name' accordingly.
    // `device_type` must be either "GPU" or "TPU".
    bool GetDeviceName(TFE_Context* ctx, tensorflow::string* device_name,
                       const char* device_type);
    
    C
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  8. cni/pkg/ebpf/app/vmlinux.h

    typedef __u8 u8;
    
    typedef __s16 s16;
    
    typedef __u16 u16;
    
    typedef __s32 s32;
    
    typedef __u32 u32;
    
    typedef __s64 s64;
    
    typedef __u64 u64;
    
    enum {
    	false = 0,
    	true = 1,
    };
    
    typedef long int __kernel_long_t;
    
    typedef long unsigned int __kernel_ulong_t;
    
    typedef int __kernel_pid_t;
    
    typedef unsigned int __kernel_uid32_t;
    
    typedef unsigned int __kernel_gid32_t;
    
    C
    - Registered: Wed Jan 24 22:53:09 GMT 2024
    - Last Modified: Wed Oct 11 22:35:41 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.h

    typedef struct TF_AttrMetadata {
      // A boolean: 1 if the attribute value is a list, 0 otherwise.
      unsigned char is_list;
    
      // Length of the list if is_list is true. Undefined otherwise.
      int64_t list_size;
    
      // Type of elements of the list if is_list != 0.
      // Type of the single value stored in the attribute if is_list == 0.
      TF_AttrType type;
    
    C
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    // A move-only RAII object that calls a stored cleanup functor when
    // destroyed. Cleanup<F> is the return type of gtl::MakeCleanup(F).
    template <typename F>
    class Cleanup {
     public:
      Cleanup() : released_(true), f_() {}
    
      template <typename G>
      explicit Cleanup(G&& f)          // NOLINT
          : f_(std::forward<G>(f)) {}  // NOLINT(build/c++11)
    
      Cleanup(Cleanup&& src)  // NOLINT
    C
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
Back to top