Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 258 for set_type (0.65 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/merge_fusion_with_dequantize.cc

        if (!req_op) return failure();
    
        // Create a new func.call op with f32 output.
        auto new_call_op = call_op.clone();
        new_call_op->getResult(0).setType(
            mlir::cast<ShapedType>(call_op.getResult(0).getType())
                .clone(rewriter.getF32Type()));
        rewriter.setInsertionPoint(call_op);
        rewriter.insert(new_call_op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/InstrumentingClassTransform.java

        private static final Type SYSTEM_TYPE = getType(System.class);
        private static final Type INTEGER_TYPE = getType(Integer.class);
        private static final Type INSTRUMENTED_TYPE = getType(Instrumented.class);
        private static final Type LONG_TYPE = getType(Long.class);
        private static final Type BOOLEAN_TYPE = getType(Boolean.class);
        public static final Type PROPERTIES_TYPE = getType(Properties.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 01:16:36 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

      TFRTensorType unconstrainted_type = rewriter.getType<TFRTensorType>();
      SmallVector<Value, 4> new_results;
      for (auto res : llvm::enumerate(call_op.getResultTypes())) {
        Type res_type = res.value();
        if (mlir::dyn_cast<TFRTensorType>(res_type)) {
          Value new_res = new_op->getResult(res.index());
          auto casted = rewriter.create<CastOp>(loc, res_type, new_res);
          new_results.push_back(casted.getOut());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/quantization_options.proto

      }
    
      QuantizationComponent quantization_component = 1;
    
      // Defines the target bit of the data.
      BitWidth bit_width = 2;
    
      // Defines the type of data of the quantized component.
      BitType bit_type = 3;
    
      // Defines whether quantization is done in narrow range.
      bool enable_narrow_range = 4;
    
      // Defines whether quantiation is done per-channel.
      bool enable_per_channel_quantization = 5;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 22 02:20:05 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. src/cmd/internal/goobj/objfile.go

    	binary.LittleEndian.PutUint32(s[:], uint32(len(x)))
    	binary.LittleEndian.PutUint32(s[4:], w.stringOff(x))
    }
    
    func (s *Sym) SetABI(x uint16)   { binary.LittleEndian.PutUint16(s[8:], x) }
    func (s *Sym) SetType(x uint8)   { s[10] = x }
    func (s *Sym) SetFlag(x uint8)   { s[11] = x }
    func (s *Sym) SetFlag2(x uint8)  { s[12] = x }
    func (s *Sym) SetSiz(x uint32)   { binary.LittleEndian.PutUint32(s[13:], x) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/inline/interleaved/interleaved.go

    			return n // already visited n.X before wrapping
    		}
    
    		ok := match(n)
    
    		ir.EditChildren(n, mark)
    
    		if ok {
    			paren := ir.NewParenExpr(n.Pos(), n)
    			paren.SetType(n.Type())
    			paren.SetTypecheck(n.Typecheck())
    
    			parens = append(parens, paren)
    			n = paren
    		}
    
    		return n
    	}
    	ir.EditChildren(fn, mark)
    
    	// Edit until stable.
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaAccessorsIntegrationTest.kt

                        setType("other-type")
                    }
                }
    
                val adhocConfig by configurations.creating
                configurations.create("for-string-invoke")
    
                (artifacts) {
                    adhocConfig(file("first.txt"))
                    adhocConfig(file("second.txt")) {
                        setType("other-type")
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/TypeMirrorToType.java

        @Override
        public Type visitPrimitive(PrimitiveType t, Void unused) {
            TypeKind kind = t.getKind();
            if (kind == TypeKind.INT) {
                return Type.INT_TYPE;
            }
            if (kind == TypeKind.BYTE) {
                return Type.BYTE_TYPE;
            }
            if (kind == TypeKind.BOOLEAN) {
                return Type.BOOLEAN_TYPE;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

          if (out_type.isa<TFRTensorType>()) {
            new_cst = rewriter.create<CastOp>(loc, out_type, new_cst->getResult(0));
          }
          rewriter.replaceOp(cst_tensor_op, new_cst->getResult(0));
          return success();
        }
    
        TypedAttr scalar;
        if (matchPattern(cst_tensor_op.getArg(), m_Constant(&scalar))) {
          Type new_out_type = RankedTensorType::get({}, scalar.getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

        for (int i = 0; i < arg_shapes.size(); ++i) {
          auto metadata_arg = metadata_proto.add_args();
          metadata_arg->set_kind(
              tensorflow::tpu::TPUCompileMetadataProto::Arg::PARAMETER);
          metadata_arg->set_dtype(dtype);
        }
        // Set up one dummy retval.
        metadata_proto.add_retvals();
        bool use_tuple_args = true;
        std::vector<tensorflow::tpu::ShardingAndIndex> arg_core_mapping;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top