Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Reference (0.46 sec)

  1. tensorflow/c/eager/c_api_experimental.h

    // inspect values. This would let people e.g. copy over most attributes and then
    // modify some based on their values.
    
    // A reference to an op's name -> attribute mapping
    typedef struct TFE_OpAttrs TFE_OpAttrs;
    
    // Fetch a reference to `op`'s attributes. The returned reference is only valid
    // while `op` is alive.
    TF_CAPI_EXPORT extern const TFE_OpAttrs* TFE_OpGetAttrs(const TFE_Op* op);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    //   example, one cannot use the output of "switch" node as input.
    // - `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 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

      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 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/graph_function.h

      ~GraphFunction() override;
    
      // GraphFunction maybe stay alive for the duration of the returned
      // FunctionDef.
      Status GetFunctionDef(const FunctionDef** fdef) override;
    
      // Returns a shared reference to the wrapped function.
      absl::StatusOr<core::RefCountPtr<FunctionRecord>> GetFunctionRecord()
          override {
        return func_record_.GetNewRef();
      }
    
      // For LLVM style RTTI.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/grappler/grappler.h

    // 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.
    // This may cause incorrectness in graph analyses, but is useful for simulation
    // or scheduling.
    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)
  6. tensorflow/c/eager/abstract_context.h

      // it in this context.
      virtual AbstractOperation* CreateOperation() = 0;
    
      // Registers a function with this context, after this the function is
      // available to be called/referenced by its name in this context.
      virtual Status RegisterFunction(AbstractFunction*) = 0;
      // Remove a function. 'func' argument is the name of a previously added
      // FunctionDef. The name is in fdef.signature.name.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.h

    TF_CAPI_EXPORT extern int TFE_OpGetFlatInputCount(const TFE_Op* op,
                                                      TF_Status* status);
    // Returns a borrowed reference to one of `op`'s inputs. Use
    // `TFE_TensorHandleCopySharingTensor` to make a new reference.
    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_OpGetFlatInput(const TFE_Op* op,
                                                               int index,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  8. tensorflow/c/c_api_internal.h

    struct TF_Library {
      void* lib_handle;
      TF_Buffer op_list;
    };
    
    struct TF_Graph {
      TF_Graph();
    
      mutable tensorflow::mutex mu;
      tensorflow::Graph graph TF_GUARDED_BY(mu);
    
      // Runs shape inference.
      tensorflow::ShapeRefiner refiner TF_GUARDED_BY(mu);
    
      // Maps from name of an operation to the Node* in 'graph'.
      std::unordered_map<tensorflow::string, tensorflow::Node*> name_map
          TF_GUARDED_BY(mu);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tape.h

      // a nullptr if none is available.
      //
      // Returns a borrowed reference, i.e. does not run VSpace::MarkAsResult on its
      // return value. The caller should increment the reference count before
      // deleting the ForwardAccumulator or calling DeleteGradient if keeping a
      // persistent reference to a non-null result.
      Gradient* FetchJVP(int64_t tensor_id);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  10. tensorflow/c/eager/abstract_function.h

      AbstractFunctionKind getKind() const { return kind_; }
    
      // Returns the AbstractFunction as a FunctionDef.
      virtual Status GetFunctionDef(const FunctionDef**) = 0;
    
      // Returns a shared reference to the wrapped function.
      virtual absl::StatusOr<core::RefCountPtr<FunctionRecord>>
      GetFunctionRecord() = 0;
    
     private:
      const AbstractFunctionKind kind_;
    };
    
    using AbstractFunctionPtr =
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top