- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 55 for ValueRange (0.13 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/batchmatmul_to_einsum.cc
if (op.getAdjX()) std::swap(equation[3], equation[4]); if (op.getAdjY()) std::swap(equation[6 + 3], equation[6 + 4]); rewriter.replaceOpWithNewOp<TF::EinsumOp>( op, op.getType(), /*inputs=*/ValueRange({input_lhs, input_rhs}), /*equation=*/equation); return success(); } }; #define GEN_PASS_DEF_BATCHMATMULTOEINSUMPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_jax_random.cc
auto attr = CustomOption(&builder, ""); Value random_result = builder .create<TFL::CustomOp>(TypeRange(result_ty_vec), ValueRange(result_shape_tensor_vec), custom_code, attr) .getResult(0); Value tulple_result = builder.create<stablehlo::TupleOp>(random_result);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc
#include "mlir/IR/MLIRContext.h" // from @llvm-project #include "mlir/IR/Operation.h" // from @llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project #include "mlir/IR/Value.h" // from @llvm-project #include "mlir/IR/ValueRange.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project #include "mlir/Transforms/DialectConversion.h" // from @llvm-project #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
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/tensorflow/transforms/fused_kernel_matcher.cc
Value fused_op = rewriter.create<FusedOpT>(fused_loc, result_type, ValueRange(operands), attrs); auto op_to_replace = fuse_activation ? activation : bias_add; rewriter.replaceOp(op_to_replace, ValueRange({fused_op})); return success(); } }; const char kDeviceAttr[] = "device"; const char kDeviceGpu[] = "GPU";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
// Create and return a 1-d tensor with exactly one element equal to the number // of list elements to initialize the output tensor list with. virtual Value GetNumElements(OpT op, ValueRange operands, PatternRewriter *rewriter) const = 0; // Rewrites the original op into `tf.fill`. The result tensor shape is
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/tensorflow/analysis/resource_alias_analysis.cc
// values. auto assign_unique_id_to_all = [&](ValueRange values) { for (Value value : filter_resources(values)) { AddValueUniqueIDMapping(value, next_unique_instance_id++); } }; // Helper to assign new unknown id for all resources in the given list of // values. auto assign_unknown_id_to_all = [&](ValueRange values) { for (Value value : filter_resources(values)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
// simply updated with `replacement`, and all other users are updated with a // slice of `replacement`. void ReplaceWithTupleResult(OpBuilder& builder, ValueRange values, ValueRange replacements, bool flatten_tuple) { if (flatten_tuple) { for (size_t result_index = 0; result_index < values.size(); result_index++)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h
#include "mlir/IR/BuiltinTypeInterfaces.h" // from @llvm-project #include "mlir/IR/ImplicitLocOpBuilder.h" // from @llvm-project #include "mlir/IR/Operation.h" // from @llvm-project #include "mlir/IR/ValueRange.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project #include "mlir/Transforms/DialectConversion.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.1K bytes - Viewed (0)