- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 101 for type_attr (0.3 sec)
-
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) -
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) -
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) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
legacy_float_scale, use_fake_quant_num_bits); if (!final_type) return {}; return TypeAttr::get(final_type); } TypeAttr CastQuantizedTypeAttrFromExpressedType(const Builder builder, const TypeAttr source, const Type target, const int axis) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 43.2K bytes - Viewed (0) -
src/cmd/compile/internal/x86/ggen.go
} } else if cnt <= int64(128*types.RegSize) { p = pp.Append(p, x86.ALEAL, obj.TYPE_MEM, x86.REG_SP, off, obj.TYPE_REG, x86.REG_DI, 0) p = pp.Append(p, obj.ADUFFZERO, obj.TYPE_NONE, 0, 0, obj.TYPE_ADDR, 0, 1*(128-cnt/int64(types.RegSize))) p.To.Sym = ir.Syms.Duffzero } else { p = pp.Append(p, x86.AMOVL, obj.TYPE_CONST, 0, cnt/int64(types.RegSize), obj.TYPE_REG, x86.REG_CX, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:38:47 UTC 2020 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/tfl_to_std.cc
} else if (auto q = llvm::dyn_cast<quantfork::QuantizeCastOp>(op)) { auto out_type = q.getResult().getType(); auto qcast = b.create<QuantizeOp>(q.getLoc(), out_type, q.getArg(), TypeAttr::get(out_type)); q.getResult().replaceAllUsesWith(qcast); if (auto extra_attr = op->getAttr(mlir::quant::kVolatileOpAttrName)) { qcast->setAttr(mlir::quant::kVolatileOpAttrName, extra_attr); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 02:50:01 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
auto new_filter_constant_value_attr = DenseIntElementsAttr::get(new_filter_value_attr_type, new_filter_values); return rewriter.create<TFL::QConstOp>( filter_constant_op.getLoc(), /*output=*/TypeAttr::get(new_filter_result_type), /*value=*/new_filter_constant_value_attr); } // Creates the `tfl.qconst` for filter. If `rhs_op` is a `stablehlo.constant`,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/ConvertConst.cc
auto fusedLoc = rewriter.getFusedLoc( {qbarrier.getArg().getDefiningOp()->getLoc(), qbarrier.getLoc()}); auto newConstOp = rewriter.create<arith::ConstantOp>( fusedLoc, newConstValueType, cast<TypedAttr>(newConstValue)); rewriter.replaceOpWithNewOp<StorageCastOp>(qbarrier, qbarrier.getType(), newConstOp); return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.4K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/model/op_spec.h
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 15 18:23:40 UTC 2021 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
// determined while going through quantization passes. OptionalAttr<TypeAttr>:$input_to_input_intermediate, OptionalAttr<TypeAttr>:$input_to_forget_intermediate, OptionalAttr<TypeAttr>:$input_to_cell_intermediate, OptionalAttr<TypeAttr>:$input_to_output_intermediate, OptionalAttr<TypeAttr>:$effective_hidden_scale_intermediate ); let results = (outs AnyTensor:$output);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0)