Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for tape_ (0.04 sec)

  1. tensorflow/c/experimental/gradients/tape/tape_context.cc

    #include "tensorflow/c/experimental/gradients/tape/tape_context.h"
    
    #include "tensorflow/c/eager/abstract_context.h"
    #include "tensorflow/c/experimental/gradients/tape/tape_operation.h"
    
    namespace tensorflow {
    namespace gradients {
    TapeContext::TapeContext(AbstractContext* c, Tape* tape,
                             const GradientRegistry& registry)
        : AbstractContext(kTape), parent_ctx_(c), tape_(tape), registry_(registry) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 23:12:39 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/tape/tape_context.h

      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
        return ptr->getKind() == kTape;
      }
      ~TapeContext() override;
    
     private:
      AbstractContext* parent_ctx_;  // Not owned.
      Tape* tape_;
      const GradientRegistry& registry_;
    };
    }  // namespace gradients
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 23:12:39 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/tape/tape_operation.h

      static bool classof(const AbstractOperation* ptr) {
        return ptr->getKind() == kTape;
      }
      ~TapeOperation() override;
    
     private:
      AbstractOperation* parent_op_;
      ForwardOperation forward_op_;
      Tape* tape_;
      const GradientRegistry& registry_;
    };
    
    }  // namespace gradients
    }  // namespace tensorflow
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 23:12:39 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/gradients/tape/tape_operation.cc

    ==============================================================================*/
    #include "tensorflow/c/experimental/gradients/tape/tape_operation.h"
    
    #include "tensorflow/c/eager/abstract_context.h"
    #include "tensorflow/c/eager/gradients.h"
    
    namespace tensorflow {
    namespace gradients {
    TapeOperation::TapeOperation(AbstractOperation* parent_op, Tape* tape,
                                 const GradientRegistry& registry)
        : AbstractOperation(kTape),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 06:16:45 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

    // watched and not the result of any operation in the tape.
    using TensorTape = std::unordered_map<int64_t, int64_t>;
    
    // Map from operation-id to tape entry.
    template <typename BackwardFunction, typename TapeTensor>
    using OpTape =
        std::unordered_map<int64_t, OpTapeEntry<BackwardFunction, TapeTensor>>;
    
    // Operations the tape needs to perform on tensors to do backpropagation. Named
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 12:40:29 UTC 2024
    - 47.2K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/ppc64/asm9.go

    	{as: AMOVFL, a1: C_REG, a6: C_CREG, type_: 69, size: 4},
    	{as: AMOVFL, a1: C_REG, a6: C_32CON, type_: 69, size: 4},
    
    	{as: ASYSCALL, type_: 5, size: 4},
    	{as: ASYSCALL, a1: C_REG, type_: 77, size: 12},
    	{as: ASYSCALL, a1: C_U15CON, type_: 77, size: 12},
    	{as: ABEQ, a6: C_BRA, type_: 16, size: 4},
    	{as: ABEQ, a1: C_CREG, a6: C_BRA, type_: 16, size: 4},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/testdata/gen/arithConstGen.go

    		`//go:noinline
    func {{.Name}}_{{.Type_}}_{{.FNumber}}(a {{.Type_}}) {{.Type_}} { return a {{.Symbol}} {{.Number}} }
    `))
    	fncCnst2 := template.Must(template.New("fnc").Parse(
    		`//go:noinline
    func {{.Name}}_{{.FNumber}}_{{.Type_}}(a {{.Type_}}) {{.Type_}} { return {{.Number}} {{.Symbol}} a }
    `))
    
    	type fncData struct {
    		Name, Type_, Symbol, FNumber, Number string
    	}
    
    	for _, s := range szs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  8. tensorflow/cc/experimental/libtf/value.h

      explicit TaggedValue(float f32) : type_(FLOAT32), data_(Float32(f32)) {}
      /// TaggedValue constructor for type INT64.
      explicit TaggedValue(int64_t i64) : type_(INT64), data_(Int64(i64)) {}
      /// TaggedValue constructor for type FLOAT32.
      explicit TaggedValue(Float32 f32) : type_(FLOAT32), data_(f32) {}
      /// TaggedValue constructor for type INT64.
      explicit TaggedValue(Int64 i64) : type_(INT64), data_(i64) {}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_unified_experimental.h

    // A TF_ExecutionContext stores knowledge about how to execute an operation.
    // E.g. it could know whether we're in eager mode or graph mode, keeps track
    // of gradient tapes, etc.
    typedef struct TF_ExecutionContext TF_ExecutionContext;
    
    // A TF_AbstractTensor is an input to an operation. E.g. it could be a union
    // type of eager and graph tensors. It is also the result of executing an
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Oct 24 11:27:00 UTC 2021
    - 7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/gradients.h

      AbstractTensorHandle* GetHandle() const;
    
     private:
      AbstractTensorHandle* handle_;
    };
    
    // A tracing/immediate-execution agnostic tape.
    //
    // Gradient functions defined for this tape must support handling null incoming
    // gradients.
    class Tape : protected eager::GradientTape<AbstractTensorHandle,
                                               GradientFunction, TapeTensor> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 26 10:27:05 UTC 2022
    - 6.9K bytes
    - Viewed (0)
Back to top