- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for op_0 (0.09 sec)
-
tensorflow/compiler/mlir/lite/quantization/tests/import_quant_stats.mlir
// RUN: tf-opt %s -quant-import-stats --quant-test-stats='entries { name: "op" params { min_max { min: -1 max: 1 } } } entries { name: "op_0:0" params { min_max { min: -2 max: 2 } } } entries { name_regex: "op_*" params { min_max { min: -3 max: 3 } } }' | FileCheck %s // CHECK-LABEL: import_stats_skip func.func @import_stats_skip(%arg0: tensor<4xf32>, %cst: tensor<i32>) -> (tensor<2xf32>,tensor<2xf32>) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 06:25:50 UTC 2024 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops.mlir
// CHECK: %[[OP_J:[a-z0-9]*]] = "tf.opJ" // CHECK: %[[OP_K:[a-z0-9]*]] = "tf.opK" // CHECK: %[[OP_L:[a-z0-9]*]] = "tf.opL" // CHECK: tf_device.replicate // CHECK-SAME: [%[[OP_A]], %[[OP_B]], %[[OP_C]]] as %{{[a-z0-9]*}}: tensor<*xi1> // CHECK-SAME: [%[[OP_D]], %[[OP_E]], %[[OP_F]]] as %{{[a-z0-9]*}}: tensor<*xi32> // CHECK-SAME: [%[[OP_G]], %[[OP_H]], %[[OP_I]]] as %{{[a-z0-9]*}}: tensor<*xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 23 23:53:20 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/op_implementation_renderer.cc
Statement("AbstractOperationPtr $0(ctx->CreateOperation())", op_.VariableName()); TFStatement(Call(op_.VariableName(), "Reset", {op_.OpNameString(), "raw_device_name"})); TFStatement(Call("MaybeSetOpName", {op_.VariableName() + ".get()", "name"})); // Set each input for (const ArgView& ar : op_.Inputs()) { TFStatement(Call(op_.VariableName(), ar.SetterMethod(), ar.SetterArgs())); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 3.7K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/op_comment_renderer.cc
OpCommentRenderer::OpCommentRenderer(RendererContext context, OpView op) : Renderer(context), op_(op) {} void OpCommentRenderer::Render() { if (context_.mode == RendererContext::kHeader) { // Add a short 1-line comment to the header files. CommentLine(op_.Summary()); return; } CommentLine("Op: $0()", op_.FunctionName()); CommentLine("Summary: $0", op_.Summary()); CommentLine(""); CommentLine("Description:");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 1.6K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/op_renderer.cc
std::make_move_iterator(args_with_default_val.end())); return absl::Substitute("$0 $1($2)", "Status", op_.FunctionName(), absl::StrJoin(arguments, ", ")); } OpRenderer::OpRenderer(RendererContext context, OpView op) : Renderer(context), op_(op), comment_(context, op) {} void OpRenderer::Render() { comment_.Render(); if (context_.mode == RendererContext::kHeader) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/views/op_view.cc
namespace cpp { OpView::OpView(OpSpec op) : op_(op), input_args_(op_.Inputs().begin(), op_.Inputs().end()), output_args_(op_.Outputs().begin(), op_.Outputs().end()), argument_attrs_(op_.Attributes().begin(), op_.Attributes().end()) { // Initialize function arguments all_arguments_.push_back(OpArgumentView("AbstractContext*", "ctx")); for (const auto& arg : op_.Inputs()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 07:02:00 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td
// by cloning the root op to replicate that value. The old op will get folded. def CloningOpResult : NativeCodeCall< "$_builder.clone(*op0)->getOpResult(0)">; // Same as CloningOpResult but is used for ops with multiple results. class CloningOpResults<int returns> : NativeCodeCall< "$_builder.clone(*op0)->getOpResults()", returns>; // Creates an 1D array const with float values. class Create1DConst<string values> : NativeCodeCall<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 04:55:44 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/op_comment_renderer.h
namespace generator { namespace cpp { class OpCommentRenderer : public Renderer { public: explicit OpCommentRenderer(RendererContext context, OpView op); void Render(); private: OpView op_; }; } // namespace cpp } // namespace generator } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.h
tensorflow::XlaExpression GetExprForOperand(mlir::Value operand, mlir::Operation* op, int64_t operand_index); mlir::Operation* op_; std::string device_type_; mlir::PatternRewriter& rewriter_; tensorflow::OpOrArgLocNameMapper name_mapper_; tensorflow::XlaContext* context_; // Ref-counted.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 5K bytes - Viewed (0)