Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for tape_ (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. fastapi/utils.py

        mode: Literal["validation", "serialization"] = "validation",
    ) -> ModelField:
        """
        Create a new response field. Raises if type_ is invalid.
        """
        class_validators = class_validators or {}
        if PYDANTIC_V2:
            field_info = field_info or FieldInfo(
                annotation=type_, default=default, alias=alias
            )
        else:
            field_info = field_info or FieldInfo()
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/gradients/grad_test_helper.cc

                 absl::Span<AbstractTensorHandle*> outputs) -> Status {
        Tape tape(/*persistent=*/false);
        for (size_t i{}; i < inputs.size(); ++i) {
          tape.Watch(inputs[i]);
        }
        std::vector<AbstractTensorHandle*> temp_outputs(1);
        AbstractContextPtr tape_ctx(new TapeContext(ctx, &tape, grad_registry));
        TF_RETURN_IF_ERROR(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-test-part.h

      bool passed() const { return type_ == kSuccess; }
    
      // Returns true iff the test part failed.
      bool failed() const { return type_ != kSuccess; }
    
      // Returns true iff the test part non-fatally failed.
      bool nonfatally_failed() const { return type_ == kNonFatalFailure; }
    
      // Returns true iff the test part fatally failed.
      bool fatally_failed() const { return type_ == kFatalFailure; }
    
     private:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-test-part.h

      bool passed() const { return type_ == kSuccess; }
    
      // Returns true iff the test part failed.
      bool failed() const { return type_ != kSuccess; }
    
      // Returns true iff the test part non-fatally failed.
      bool nonfatally_failed() const { return type_ == kNonFatalFailure; }
    
      // Returns true iff the test part fatally failed.
      bool fatally_failed() const { return type_ == kFatalFailure; }
    
     private:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/gradients/custom_gradient_test.cc

      Tape tape(/*persistent=*/false);
      tape.Watch(inputs[0]);  // Watch x.
      AbstractTensorHandle* exp_output;
      TF_RETURN_IF_ERROR(ops::Exp(ctx, inputs[0], &exp_output, "Exp"));
      std::unique_ptr<GradientFunction> gradient_function(
          new PassThroughGradientFunction);
      tape.RecordOperation(inputs, {exp_output}, gradient_function.release());
      TF_RETURN_IF_ERROR(tape.ComputeGradient(ctx,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loadelf/ldelf.go

    			return errorf("%s: malformed elf file: %v", pn, err)
    		}
    		symbols[i] = elfsym.sym
    		if elfsym.type_ != elf.STT_FUNC && elfsym.type_ != elf.STT_OBJECT && elfsym.type_ != elf.STT_NOTYPE && elfsym.type_ != elf.STT_COMMON {
    			continue
    		}
    		if elfsym.shndx == elf.SHN_COMMON || elfsym.type_ == elf.STT_COMMON {
    			sb := l.MakeSymbolUpdater(elfsym.sym)
    			if uint64(sb.Size()) < elfsym.size {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top