Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for addTypes (0.08 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/DataSchemaBuilder.kt

            private
            val propertyOriginalTypes = mutableMapOf<KClass<*>, MutableMap<String, KType>>()
    
            private
            val claimedFunctions = mutableMapOf<KClass<*>, MutableSet<KFunction<*>>>()
    
            fun addType(kClass: KClass<*>) {
                properties.getOrPut(kClass) { mutableMapOf() }
                propertyOriginalTypes.getOrPut(kClass) { mutableMapOf() }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/crypto/tls/ech.go

    	var b cryptobyte.Builder
    	b.AddUint8(0) // outer
    	b.AddUint16(kdfID)
    	b.AddUint16(aeadID)
    	b.AddUint8(id)
    	b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { b.AddBytes(encodedKey) })
    	b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { b.AddBytes(payload) })
    	return b.Bytes()
    }
    
    func computeAndUpdateOuterECHExtension(outer, inner *clientHelloMsg, ech *echContext, useKey bool) error {
    	var encapKey []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top