Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 214 for typeName (0.26 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases_go122.go

    func Unalias(t types.Type) types.Type { return types.Unalias(t) }
    
    // newAlias is an internal alias around types.NewAlias.
    // Direct usage is discouraged as the moment.
    // Try to use NewAlias instead.
    func newAlias(tname *types.TypeName, rhs types.Type) *Alias {
    	a := types.NewAlias(tname, rhs)
    	// TODO(go.dev/issue/65455): Remove kludgy workaround to set a.actual as a side-effect.
    	Unalias(a)
    	return a
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy

                solutions == [
                    'Assign a value to \'destFile\'',
                    'Mark property \'destFile\' as optional',
                ]
                additionalData.asMap == [
                    'typeName' : 'CustomTask',
                    'propertyName' : 'destFile',
                ]
            }
            verifyAll(receivedProblem(1)) {
                fqid == 'validation:property-validation:value-not-set'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/test/groovy/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerializationTest.groovy

                it.id("id", "label", GradleCoreProblemGroup.validation())
                    .additionalData(TypeValidationDataSpec.class) {
                        it.propertyName("property")
                        it.typeName("type")
                        it.parentPropertyName("parent")
                        it.pluginId("id")
                    }
            }
    
            when:
            def json = gson.toJson([problem])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/quantize.cc

    enum QuantizationTrait { kFullQuantization, kDynamicRangeQuantization };
    
    // Base struct for quantization.
    template <QuantizationTrait quantization_trait, typename ConcreteT,
              typename RootOpT = DequantizeOp>
    struct TFLQuantizationBase
        : public quant::QuantizationPattern<ConcreteT, QuantizeOp, DequantizeOp,
                                            NumericVerifyOp, RootOpT> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h

    inline const char kMlirPh1BridgeCounterNonTpu[] = "cpu/gpu";
    inline const char kXlaOutsideCompilation[] = "_xla_outside_compilation";
    
    // Copies attributes that satisfy the given predicate from `from` to `to`.
    template <typename Predicate>
    void CopyAttributes(Operation *from, Operation *to, Predicate P) {
      for (const NamedAttribute &attr : from->getAttrs())
        if (P(attr)) to->setAttr(attr.getName(), attr.getValue());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. pkg/kube/krt/collection.go

    		res := hf(ctx, i)
    		if res == nil {
    			return nil
    		}
    		return []O{*res}
    	}
    	o := buildCollectionOptions(opts...)
    	if o.name == "" {
    		o.name = fmt.Sprintf("Collection[%v,%v]", ptr.TypeName[I](), ptr.TypeName[O]())
    	}
    	return newManyCollection[I, O](c, hm, o)
    }
    
    // NewManyCollection transforms a Collection[I] to a Collection[O] by applying the provided transformation function.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.h

    namespace mlir {
    namespace odml {
    
    // Ensure an attribute named attr_name exists and it is of type AttrType.
    // If so, sets the `out_attr` pointer to point to the casted attribute.
    template <typename AttrType>
    bool EnsureAttribute(const DictionaryAttr& composite_attributes,
                         const std::string& attr_name, AttrType* out_attr) {
      Attribute attr = composite_attributes.get(attr_name);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 18:33:05 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc

    struct TPUPartitionedOpConversionPass
        : public impl::TPUPartitionedOpConversionPassBase<
              TPUPartitionedOpConversionPass> {
      void runOnOperation() override;
    };
    
    template <typename T>
    LogicalResult ReplacePartitionedOp(IntegerAttr num_cores_per_replica, T op) {
      constexpr bool is_input =
          std::is_same_v<std::decay_t<T>, TF::TPUPartitionedInputOp>;
      static_assert(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/export_utils.h

    // ShapeContainerT is any type with the following methods:
    //   bool hasRank()
    //   ArrayRef<int64_t> getShape()
    // This includes mlir::TF::ShapeAttr and mlir::ShapedType.
    template <typename ShapeContainerT>
    void SetTensorShapeProto(ShapeContainerT shape, TensorShapeProto* proto) {
      if (shape.hasRank()) {
        for (int64_t dim : shape.getShape()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/batchmatmul_to_einsum.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/core/util/matmul_bcast.h"
    
    namespace mlir {
    namespace TF {
    
    namespace {
    
    // Replace TF BatchMatMul by TF Einsum op
    template <typename BatchMatMulOpType>
    class ConvertTFBatchMatMulToEinsumOp
        : public OpRewritePattern<BatchMatMulOpType> {
      using OpRewritePattern<BatchMatMulOpType>::OpRewritePattern;
    
      LogicalResult matchAndRewrite(BatchMatMulOpType op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top