- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 159 for Operands (0.14 sec)
-
tensorflow/compiler/mlir/tfr/passes/decompose.cc
TFRTensorType unconstrainted_tensor_type = builder.getType<TFRTensorType>(); // Create the new operands. This is mapping the operands from the target // TF ops to the TFR function arguments. If the TFR function argument is // a tensor_list, a "tfr.build_list" op is used to concat the available // TF op operands. If the TFR function argument isn't a tensor/tensor_list,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc
} // If operand is TF const op, create MHLO constant op from the contents. // Otherwise convert the operand to the desired type. FailureOr<Value> CreateConstantOrConvertOp(Operation *op, Value operand, TensorType new_operand_type, PatternRewriter &rewriter) { // Check whether the rhs operand has constant op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h
op->getAttrOfType<StringAttr>(kQuantTraitAttrName).getValue().str() == QuantTraitValues[QuantizationTrait::FullyQuantizable]; } // Returns true if `op` has two operands and one result and only second operand // is quantized. bool IsHybridQuantizedOp(Operation* op); // Returns whether a given `stablehlo.dot_general` can be legalizable to // `tfl.fully_connected`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call_test.cc
}; const SmallVector<Value> operands(dot_general_op->getOperands()); const SmallVector<Value> results(dot_general_op->getResults()); Operation* lifted_op = LiftAsFunctionCall(builder_, dot_general_op->getLoc(), FunctionCallOpType::TFXlaCallModuleOp, "composite_dot_general_fn", operands, results, attributes)[0]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 26.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc
Value BuildDotOperandFlattenedShapeOp(Value operand, DotDimensionsInfo dot_dimensions_info, ImplicitLocOpBuilder& builder, bool is_lhs) { auto operand_type = mlir::cast<ShapedType>(operand.getType()); auto operand_shape = builder.create<TFL::ShapeOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc
for (const auto& operand : llvm::enumerate(signature.getFunctionType().getInputs())) { // If the index is larger than the operand number of the call_op, the // default value of the operand needs to be used. if (operand.index() >= call_op.getNumOperands()) { auto attr_name = signature.getArgAttrOfType<StringAttr>( operand.index(), kAttrArgumentNameAttr); auto attr_value =
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/lite/transforms/passes.td
let summary = "TFLite runtime verification"; let constructor = "CreateRuntimeVerifyPass()"; } def SplitMergedOperandsPass : Pass<"tfl-split-merged-operands", "mlir::func::FuncOp"> { let summary = "Split merged stateful operands for tfl operations."; let constructor = "CreateSplitMergedOperandsPass()"; } def TrimFunctionsPass : Pass<"tfl-trim-funcs-tf", "mlir::ModuleOp"> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 22.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc
} tensorflow::XlaExpression Tf2XlaRewriter::GetExprForOperand( Value operand, Operation* op, int64_t operand_index) { ElementsAttr const_attr; auto defining_op = operand.getDefiningOp(); ::xla::XlaOp xla_op = xla::Parameter(&xla_builder_, operand_index, xla::TypeToShape(operand.getType()), std::to_string(operand_index));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 18.9K bytes - Viewed (0) -
src/go/types/call.go
if n := len(elist); n == 1 { xlist, _ = check.multiExpr(elist[0], false) } else if n > 1 { // multiple (possibly invalid) values xlist = make([]*operand, n) for i, e := range elist { var x operand check.expr(nil, &x, e) xlist[i] = &x } } return } // genericExprList is like exprList but result operands may be uninstantiated or partially
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 33.5K bytes - Viewed (0) -
src/fmt/doc.go
will print 23. Except when printed using the verbs %T and %p, special formatting considerations apply for operands that implement certain interfaces. In order of application: 1. If the operand is a [reflect.Value], the operand is replaced by the concrete value that it holds, and printing continues with the next rule. 2. If an operand implements the [Formatter] interface, it will be invoked. In this case the interpretation of verbs and flags is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:56:20 UTC 2024 - 14.6K bytes - Viewed (0)