Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for tape_ (0.04 sec)

  1. 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)
  2. 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)
  3. tensorflow/c/eager/gradients.cc

    void TapeVSpace::DeleteGradient(AbstractTensorHandle* gradient) const {
      gradient->Unref();
    }
    
    void Tape::Watch(const AbstractTensorHandle* t) {
      GradientTape::Watch(ToId(t));
    }
    void Tape::RecordOperation(absl::Span<AbstractTensorHandle* const> inputs,
                               absl::Span<AbstractTensorHandle* const> outputs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. fastapi/openapi/models.py

        openIdConnect = "openIdConnect"
    
    
    class SecurityBase(BaseModelWithConfig):
        type_: SecuritySchemeType = Field(alias="type")
        description: Optional[str] = None
    
    
    class APIKeyIn(Enum):
        query = "query"
        header = "header"
        cookie = "cookie"
    
    
    class APIKey(SecurityBase):
        type_: SecuritySchemeType = Field(default=SecuritySchemeType.apiKey, alias="type")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. src/runtime/defs_windows.go

    }
    
    type memoryBasicInformation struct {
    	baseAddress       uintptr
    	allocationBase    uintptr
    	allocationProtect uint32
    	regionSize        uintptr
    	state             uint32
    	protect           uint32
    	type_             uint32
    }
    
    // https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/ns-wdm-_osversioninfow
    type _OSVERSIONINFOW struct {
    	osVersionInfoSize uint32
    	majorVersion      uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. tests/test_compat.py

        from fastapi._compat import is_pv1_scalar_field
    
        field_info = FieldInfo()
        field = ModelField(
            name="foo",
            field_info=field_info,
            type_=Union[str, List[int]],
            class_validators={},
            model_config=BaseConfig,
        )
        assert not is_pv1_scalar_field(field)
    
    
    @needs_pydanticv2
    def test_get_model_config():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/tracing_utils.cc

    ==============================================================================*/
    #include "tensorflow/c/eager/tracing_utils.h"
    
    #include "tensorflow/c/eager/c_api_unified_experimental_internal.h"
    #include "tensorflow/c/experimental/gradients/tape/tape_operation.h"
    #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h"
    #include "tensorflow/core/platform/errors.h"
    
    namespace tensorflow {
    namespace tracing {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/parser.go

    		p.want(_Lbrack)
    		t := new(MapType)
    		t.pos = pos
    		t.Key = p.type_()
    		p.want(_Rbrack)
    		t.Value = p.type_()
    		return t
    
    	case _Struct:
    		return p.structType()
    
    	case _Interface:
    		return p.interfaceType()
    
    	case _Name:
    		return p.qualifiedName(nil)
    
    	case _Lparen:
    		p.next()
    		t := p.type_()
    		p.want(_Rparen)
    		return t
    	}
    
    	return nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  9. tensorflow/c/eager/BUILD

            "//tensorflow/core:test",
            "//tensorflow/core:test_main",
            "@com_google_absl//absl/strings",
        ],
    )
    
    cc_library(
        name = "tape",
        hdrs = ["tape.h"],
        visibility = ["//tensorflow:internal"],
        deps = [
            "//tensorflow/core:framework",
            "//tensorflow/core:lib",
            "//tensorflow/core/config:flag_defs",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  10. fastapi/encoders.py

    ) -> Dict[Callable[[Any], Any], Tuple[Any, ...]]:
        encoders_by_class_tuples: Dict[Callable[[Any], Any], Tuple[Any, ...]] = defaultdict(
            tuple
        )
        for type_, encoder in type_encoder_map.items():
            encoders_by_class_tuples[encoder] += (type_,)
        return encoders_by_class_tuples
    
    
    encoders_by_class_tuples = generate_encoders_by_class_tuples(ENCODERS_BY_TYPE)
    
    
    def jsonable_encoder(
        obj: Annotated[
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top