Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 101 for Dtype (0.04 sec)

  1. tensorflow/compiler/mlir/tfrt/BUILD

        ),
    )
    
    tf_cc_binary(
        name = "bef_executor",
        testonly = True,
        visibility = [":friends"],
        deps = [
            "@tf_runtime//:dtype",
            "@tf_runtime//:simple_tracing_sink",
            "@tf_runtime//tools:bef_executor_expensive_kernels",
            "@tf_runtime//tools:bef_executor_lib",
            "@tf_runtime//tools:bef_executor_lightweight_kernels",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 19:04:21 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

    ElementsAttr GetTensorValueAsElementsAttr(
        TF::VarHandleOp var_handle_op, const tensorflow::Tensor& resource_tensor,
        const tensorflow::DeviceMgr* mgr, OpBuilder builder) {
      if (resource_tensor.dtype() != tensorflow::DT_RESOURCE) {
        return GetTensorValueAsElementsAttr(resource_tensor, builder);
      }
    
      auto handle = resource_tensor.scalar<tensorflow::ResourceHandle>()();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

            llvm::dyn_cast<TF::ConstOp>(fold_results[0].getDefiningOp()).getValue(),
            &tensor));
        xla::Shape xla_shape;
        TF_RETURN_IF_ERROR(tensorflow::TensorShapeToXLAShape(
            tensor.dtype(), tensor.shape(), &xla_shape));
        xla::PjRtClient::HostBufferSemantics host_buffer_semantics =
            xla::PjRtClient::HostBufferSemantics::kImmutableUntilTransferCompletes;
        TF_ASSIGN_OR_RETURN(
            auto buffer,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

      // sharding.
      // The split sharding is:
      //   type: OTHER
      //   tile_assignment_dimensions: 2
      //   tile_assignment_dimensions: 1
      //   tile_assignment_devices: 0
      //   tile_assignment_devices: 1
      // Serialized string:
      //   "\08\03\1A\02\02\01\22\02\00\01"
      // The manual sharding is:
      //   type: MANUAL
      // Serialized string:
      //   "\08\04"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  5. src/runtime/type.go

    // license that can be found in the LICENSE file.
    
    // Runtime type representation.
    
    package runtime
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    type nameOff = abi.NameOff
    type typeOff = abi.TypeOff
    type textOff = abi.TextOff
    
    type _type = abi.Type
    
    // rtype is a wrapper that allows us to define additional methods.
    type rtype struct {
    	*abi.Type // embedding is okay here (unlike reflect) because none of this is public
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/internal/reflectlite/type.go

    	return s[i+1:]
    }
    
    func toRType(t *abi.Type) rtype {
    	return rtype{t}
    }
    
    func elem(t *abi.Type) *abi.Type {
    	et := t.Elem()
    	if et != nil {
    		return et
    	}
    	panic("reflect: Elem of invalid type " + toRType(t).String())
    }
    
    func (t rtype) Elem() Type {
    	return toType(elem(t.common()))
    }
    
    func (t rtype) In(i int) Type {
    	tt := t.Type.FuncType()
    	if tt == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. src/internal/abi/type.go

    }
    
    // Imethod represents a method on an interface type
    type Imethod struct {
    	Name NameOff // name of method
    	Typ  TypeOff // .(*FuncType) underneath
    }
    
    // ArrayType represents a fixed array type.
    type ArrayType struct {
    	Type
    	Elem  *Type // array element type
    	Slice *Type // slice type
    	Len   uintptr
    }
    
    // Len returns the length of t if t is an array type, otherwise 0
    func (t *Type) Len() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  8. src/encoding/gob/type.go

    )
    
    // userTypeInfo stores the information associated with a type the user has handed
    // to the package. It's computed once and stored in a map keyed by reflection
    // type.
    type userTypeInfo struct {
    	user        reflect.Type // the type the user handed us
    	base        reflect.Type // the base type after all indirections
    	indir       int          // number of indirections to reach the base type
    	externalEnc int          // xGob, xBinary, or xText
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. src/runtime/iface.go

    	stringEface any = stringInterfacePtr("")
    	sliceEface  any = sliceInterfacePtr(nil)
    
    	uint16Type *_type = efaceOf(&uint16Eface)._type
    	uint32Type *_type = efaceOf(&uint32Eface)._type
    	uint64Type *_type = efaceOf(&uint64Eface)._type
    	stringType *_type = efaceOf(&stringEface)._type
    	sliceType  *_type = efaceOf(&sliceEface)._type
    )
    
    // The conv and assert functions below do very similar things.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc

    LogicalResult ConstantFoldMul(mhlo::MulOp op, PatternRewriter &rewriter) {
      ShapedType type = mlir::dyn_cast<ShapedType>(op.getType());
      Type etype = type.getElementType();
      Attribute result = {};
      if (mlir::isa<FloatType>(etype)) {
        result =
            BinaryFolder<mhlo::MulOp, FloatType, APFloat, std::multiplies<APFloat>>(
                &op);
      } else if (mlir::isa<IntegerType>(etype)) {
        result =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top