Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 63 for tape_ (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/link/internal/loadmacho/ldmacho.go

    	LdMachoFileFvmlib     = 3
    	LdMachoFileCore       = 4
    	LdMachoFilePreload    = 5
    )
    
    func unpackcmd(p []byte, m *ldMachoObj, c *ldMachoCmd, type_ uint, sz uint) int {
    	e4 := m.e.Uint32
    	e8 := m.e.Uint64
    
    	c.type_ = int(type_)
    	c.size = uint32(sz)
    	switch type_ {
    	default:
    		return -1
    
    	case LdMachoCmdSegment:
    		if sz < 56 {
    			return -1
    		}
    		c.seg.name = cstring(p[8:24])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 18:45:57 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/gradients_test.cc

        absl::Span<AbstractTensorHandle*> outputs) {
      Tape tape(/*persistent=*/false);
      tape.Watch(inputs[0]);
      AbstractTensorHandle* neg_output;
      TF_RETURN_IF_ERROR(ops::Neg(ctx, inputs[0], &neg_output, "Neg"));
      tape.RecordOperation(inputs, {neg_output}, nullptr, "Neg");
      return tape.ComputeGradient(ctx,
                                  /*targets=*/{neg_output},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. fastapi/_compat.py

            if not (
                field.shape == SHAPE_SINGLETON  # type: ignore[attr-defined]
                and not lenient_issubclass(field.type_, BaseModel)
                and not lenient_issubclass(field.type_, dict)
                and not field_annotation_is_sequence(field.type_)
                and not is_dataclass(field.type_)
                and not isinstance(field_info, params.Body)
            ):
                return False
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/gradients/tape/BUILD

    # A tape built on top of unified execution APIs.
    load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
    
    package(
        # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
        licenses = ["notice"],
    )
    
    cc_library(
        name = "tape_context",
        srcs = ["tape_context.cc"],
        hdrs = [
            "tape_context.h",
        ],
        visibility = [
            "//tensorflow:internal",
        ],
        deps = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 17 15:20:54 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top