- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getDefiningOp (0.13 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
cast<stablehlo::SubtractOp>(op.getOperand(0).getDefiningOp()); auto input1_i8_to_i32_convert_op = cast<stablehlo::ConvertOp>( input1_zero_point_subtract_op.getOperand(0).getDefiningOp()); auto input1_uniform_quantize_call_op = cast<func::CallOp>( input1_i8_to_i32_convert_op.getOperand().getDefiningOp()); auto input1_uniform_quantize_call_pattern =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
"TFL::IsLastDimEqualToNumElements($0.getType(), $1.getType())">>; def IsDefinedByFullyConnectedOp : Constraint<CPred< "$0.getDefiningOp<TFL::FullyConnectedOp>() != nullptr">>; def IsDefinedByConv2DOp : Constraint<CPred< "$0.getDefiningOp<TFL::Conv2DOp>() != nullptr">>; // Returns true if the supplied value- // 1) Has only one use or
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
auto map_fn = [](Value value) -> int { Value parent = value; while (true) { if (auto identity = parent.getDefiningOp<TF::IdentityOp>()) { parent = identity.getInput(); } else if (auto set_item = parent.getDefiningOp<TF::TensorListSetItemOp>()) { parent = set_item.getInputHandle(); } else { break; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
// Check if the only the weight index has QuantizeCastOp. auto cur_op = dyn_cast_or_null<quantfork::QuantizeCastOp>( call_op.getArgs()[cur_idx].getDefiningOp()); if (!cur_op && spec->quantizable_operands.contains(cur_idx)) { return false; } else if (cur_op) { // Check if the QuantizeCastOp has element type of quantized type.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
Operation::operand_range &input, IntegerAttr &num_bits, BoolAttr &narrow_range, ::llvm::SmallVector<Operation *, 4> &target_ops) const { auto *defining_op = (*casted_op.getODSOperands(0).begin()).getDefiningOp(); if (!(defining_op)) { return rewriter.notifyMatchFailure(casted_op, [&](Diagnostic &diag) { diag << "There's no operation that defines operand 0 of casted_op"; }); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0)