Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 96 for type_attr (0.13 sec)

  1. src/cmd/internal/obj/x86/asm_test.go

    		{&obj.Addr{Type: obj.TYPE_ADDR, Name: obj.NAME_AUTO}, Yiauto},
    		{&obj.Addr{Type: obj.TYPE_ADDR, Name: obj.NAME_PARAM}, Yiauto},
    		{&obj.Addr{Type: obj.TYPE_ADDR, Name: obj.NAME_EXTERN}, Yiauto},
    		{&obj.Addr{Type: obj.TYPE_ADDR, Sym: &obj.LSym{Name: "runtime.duff"}}, Yi32},
    		{&obj.Addr{Type: obj.TYPE_ADDR, Offset: 4}, Yu7},
    		{&obj.Addr{Type: obj.TYPE_ADDR, Offset: 255}, Yu8},
    
    		{immAddr(0), Yi0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 28 19:39:51 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/pass.go

    		if a.Scale != 0 || a.Name != 0 || a.Sym != nil {
    			break
    		}
    		return
    
    	case TYPE_ADDR:
    		if a.Val != nil {
    			break
    		}
    		if a.Reg == 0 && a.Index == 0 && a.Scale == 0 && a.Name == 0 && a.Sym == nil {
    			ctxt.Diag("argument is TYPE_ADDR, should be TYPE_CONST, in %v", p)
    		}
    		return
    
    	case TYPE_SHIFT, TYPE_REGREG:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc

        case AttrValue::kB:
          return builder->getBoolAttr(value.b());
        case AttrValue::kType: {
          mlir::Type type;
          TF_RETURN_IF_ERROR(ConvertDataType(value.type(), *builder, &type));
          return mlir::TypeAttr::get(type);
        }
        case AttrValue::kShape:
          return ConvertTensorShapeProto(value.shape(), builder->getContext());
        case AttrValue::kTensor:
          return ConvertTensorProto(value.tensor(), builder);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.h

    // before the op being constant folded. Since the constant
    // folding logic will use a "arith.constant" op to replace the
    // "tf.FakeQuantWithMinMaxVarsOp", the "quant.qcast" op is used to preserve
    // the quantization parameters as a TypeAttr and "quant.dcast" op used to
    // convert the output type to the next op. Here are the transformations:
    //
    // input   min cst       max cst              input
    //  \       |             |                     |
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.h

    // before the op being constant folded. Since the constant
    // folding logic will use a "arith.constant" op to replace the
    // "tf.FakeQuantWithMinMaxVarsOp", the "tfl.quantize" op is used to preserve
    // the quantization parameters as a TypeAttr and "tfl.dequantize" op used to
    // convert the output type to the next op. Here are the transformations:
    //
    // input   min cst       max cst          input   min cst       max cst
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

    // index.
    template <typename LstmOp>
    inline QuantizedType GetIntermediateElementType(LstmOp op, int tensor_index) {
      if (tensor_index < 0 || tensor_index > 4) return nullptr;
      TypeAttr attr = op->template getAttrOfType<TypeAttr>(
          intermediate_attributes[tensor_index]);
      if (!attr) {
        return nullptr;
      }
      return QuantizedType::getQuantizedElementType(attr.getValue());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc

    // folding logic will use a "arith.constant" op to replace the
    // "tf.FakeQuantWithMinMaxVarsOp", the "tfl.quantize" op is used to preserve
    // the quantization parameters as a TypeAttr and "tfl.dequantize" op used to
    // convert the output type to the next op. Here are the transformations:
    //
    // input   min cst       max cst          input   min cst       max cst
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/quantize_variables.cc

              builder.setInsertionPoint(assign_variable_op);
              auto new_q_op = builder.create<QuantizeOp>(
                  assign_variable_op.getLoc(), ref_qtype, dq_op.getInput(),
                  TypeAttr::get(ref_qtype));
              auto new_assign_variable_op = builder.create<AssignVariableOp>(
                  assign_variable_op.getLoc(), assign_variable_op.getResourceId(),
                  new_q_op.getResult());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/addrtype_string.go

    	var x [1]struct{}
    	_ = x[TYPE_NONE-0]
    	_ = x[TYPE_BRANCH-1]
    	_ = x[TYPE_TEXTSIZE-2]
    	_ = x[TYPE_MEM-3]
    	_ = x[TYPE_CONST-4]
    	_ = x[TYPE_FCONST-5]
    	_ = x[TYPE_SCONST-6]
    	_ = x[TYPE_REG-7]
    	_ = x[TYPE_ADDR-8]
    	_ = x[TYPE_SHIFT-9]
    	_ = x[TYPE_REGREG-10]
    	_ = x[TYPE_REGREG2-11]
    	_ = x[TYPE_INDIR-12]
    	_ = x[TYPE_REGLIST-13]
    	_ = x[TYPE_SPECIAL-14]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 03:16:26 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

        if (input_types.size() <= 1) return;
    
        Type target_input_type = mlir::cast<TypeAttr>(input_types[0]).getValue();
        auto result_type = UnrankedTensorType::get(target_input_type);
        for (auto i = 1; i < input_types.size(); ++i) {
          Type current_input_type = mlir::cast<TypeAttr>(input_types[i]).getValue();
          if (current_input_type != target_input_type) {
            input_values[i] =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top