Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for addTypes (0.12 sec)

  1. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc

      }
    };
    
    }  // namespace
    
    MlrtDialect::MlrtDialect(mlir::MLIRContext *context)
        : mlir::Dialect(/*name=*/"mlrt", context,
                        mlir::TypeID::get<MlrtDialect>()) {
      addTypes<FutureType>();
      addTypes<PromiseType>();
      addTypes<AsyncHandleType>();
      addInterfaces<MlrtInlinerInterface>();
    
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.cpp.inc"
          >();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/debug/dwarf/open.go

    		return nil, err
    	}
    	d.unit = u
    	return d, nil
    }
    
    // AddTypes will add one .debug_types section to the DWARF data. A
    // typical object with DWARF version 4 debug info will have multiple
    // .debug_types sections. The name is used for error reporting only,
    // and serves to distinguish one .debug_types section from another.
    func (d *Data) AddTypes(name string, types []byte) error {
    	return d.parseTypes(name, types)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.cc

    namespace tfrt {
    namespace fallback {
    
    FallbackDialect::FallbackDialect(MLIRContext *context)
        : Dialect(/*name=*/"tfrt_fallback", context,
                  TypeID::get<FallbackDialect>()) {
      addTypes<TFTensorType, TFAllocatorType>();
    
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.cpp.inc"
          >();
    }
    
    /// Parse a type registered to this dialect.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cc

    };
    
    }  // namespace
    
    TensorflowMlrtDialect::TensorflowMlrtDialect(mlir::MLIRContext *context)
        : mlir::Dialect(/*name=*/"tf_mlrt", context,
                        mlir::TypeID::get<TensorflowMlrtDialect>()) {
      addTypes<TFTensorType, TFDeviceType>();
      addInterfaces<TensorflowMlrtInlinerInterface>();
    
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cpp.inc"
          >();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/gpu_fusion.cc

                             _FusedBatchNormExOp::getOperationName());
        state.addOperands(batch_norm.getOperands());
        if (side_input) state.operands.push_back(side_input);
        state.addTypes(batch_norm.getResultTypes());
        state.addAttributes(batch_norm->getAttrs());
        Operation *op = rewriter.create(state);
        rewriter.replaceOp(batch_norm, op->getResults());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/python/mlir_wrapper/mlir_wrapper.pyi

    class OperationState:
        def __init__(self, arg0: Location, arg1: str) -> None: ...
        def addOperands(self, arg0: list[Value]) -> None: ...
        def addRegion(self) -> Region: ...
        def addTypes(self, arg0: list[Type]) -> None: ...
    
    class RankedTensorType(Type):
        def __init__(self, *args, **kwargs) -> None: ...
        def get(self, arg0: Type) -> RankedTensorType: ...
    
    class Region:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 09 17:10:09 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc

      // Create the TF op
      const std::string tf_op_full_name = absl::StrCat("tf.", node_def.op());
      mlir::OperationState op_state(loc, tf_op_full_name);
      op_state.addOperands(func.getArguments());
      op_state.addTypes(output_tys);
      op_state.addAttributes(attrs);
      mlir::Operation* tf_op = op_builder.create(op_state);
      op_builder.create<mlir::func::ReturnOp>(loc, tf_op->getResults());
    
      // Run the decompose passes on the module
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 29 02:34:43 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/facts/imports.go

    			addType(T.Elem())
    		case *types.Slice:
    			addType(T.Elem())
    		case *types.Array:
    			addType(T.Elem())
    		case *types.Chan:
    			addType(T.Elem())
    		case *types.Map:
    			addType(T.Key())
    			addType(T.Elem())
    		case *types.Signature:
    			addType(T.Params())
    			addType(T.Results())
    			if tparams := T.TypeParams(); tparams != nil {
    				for i := 0; i < tparams.Len(); i++ {
    					addType(tparams.At(i))
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. pkg/controller/endpointslicemirroring/reconciler_helpers.go

    func (d *desiredCalc) initPorts(subsetPorts []v1.EndpointPort) multiAddrTypePortMapKey {
    	endpointPorts := epPortsToEpsPorts(subsetPorts)
    	addrTypes := []discovery.AddressType{discovery.AddressTypeIPv4, discovery.AddressTypeIPv6}
    	multiKey := multiAddrTypePortMapKey{}
    
    	for _, addrType := range addrTypes {
    		multiKey[addrType] = newAddrTypePortMapKey(endpointPorts, addrType)
    		if _, ok := d.endpointsByKey[multiKey[addrType]]; !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. src/crypto/tls/key_schedule.go

    	var hkdfLabel cryptobyte.Builder
    	hkdfLabel.AddUint16(uint16(length))
    	hkdfLabel.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
    		b.AddBytes([]byte("tls13 "))
    		b.AddBytes([]byte(label))
    	})
    	hkdfLabel.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
    		b.AddBytes(context)
    	})
    	hkdfLabelBytes, err := hkdfLabel.Bytes()
    	if err != nil {
    		// Rather than calling BytesOrPanic, we explicitly handle this error, in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top