- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for getLoc (0.86 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
Value start_op = rewriter.create<TF::ConstOp>(iota_op.getLoc(), start); Value limit_op = rewriter.create<TF::ConstOp>(iota_op.getLoc(), limit); Value delta_op = rewriter.create<TF::ConstOp>(iota_op.getLoc(), delta); Value result = rewriter.create<TF::RangeOp>(iota_op.getLoc(), range_type, start_op, limit_op, delta_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
filter_constant_op->getLoc(), *rewriter.getContext(), filter_quantized_type.getScale(), filter_quantized_type.getZeroPoint(), /*narrow_range=*/true); } // Required because the quantized dimension is changed from 3 -> 0. auto new_filter_result_type = RankedTensorType::getChecked( filter_constant_op.getLoc(), /*shape=*/new_filter_shape,
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/transforms/optimize.cc
} } else { bias = rewriter .create<AddOp>(add_op.getLoc(), bias, constant_val, rewriter.getStringAttr("NONE")) .getOutput(); } auto fc = rewriter.create<TFL::FullyConnectedOp>( FusedLoc::get(fc_op.getContext(), {fc_op.getLoc(), add_op.getLoc()}), add_op.getType(), /*input=*/fc_op.getInput(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
if (!data_format_is_valid) { return emitOptionalError(op.getLoc(), "Invalid data format provided"); } const StringRef paddings = op.getPadding(); tensorflow::Padding padding; auto padding_is_valid = GetPaddingFromString(paddings.str(), &padding); if (!padding_is_valid.ok()) { return emitOptionalError(op.getLoc(), "Invalid padding format provided"); } // Verifies that,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
// restrictive due to incompleteness of shape inference at this point. mlir::InFlightDiagnostic diag = mlir::emitWarning(op->getLoc(), "has static shape result"); if (op->getContext()->shouldPrintOpOnDiagnostic()) { diag.attachNote(op->getLoc()) .append("see current operation: ") .appendOp(*op, OpPrintingFlags().printGenericOpForm()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
YieldOp yield_op = GetYield(); // In order to correctly round-trip, we can only use this syntax when all // the locations are identical. if (controlled_op.getLoc() == getLoc() && yield_op.getLoc() == getLoc()) { p << " controls "; p.printGenericOp(&controlled_op); return; } } p << ' '; p.printRegion(getOperation()->getRegion(0));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
builder_ = mlir::OpBuilder(function.getBody()); // Create the graph operation in which we will convert the individual nodes. auto graph = builder_.create<mlir::tf_executor::GraphOp>( function.getLoc(), func_type.getResults()); builder_.createBlock(&graph.getBody()); for (const Node* node : ordered_nodes_) { TF_RETURN_IF_ERROR(ConvertNode(*node)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
tl_element_shape.replaceAllUsesWith(initial_element_shape); } else { OpBuilder b(use.getOwner()); Operation* cast_op = InsertCast( b, use.getOwner()->getLoc(), tl_element_shape.getResult().getType(), initial_element_shape); if (!cast_op) return false; tl_element_shape.replaceAllUsesWith(cast_op->getResult(0)); } continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
std::string graph_name = op_name + std::to_string(subgraph_index); auto subgraph = BuildSubGraph(graph_name, region, subgraph_index); if (!subgraph.has_value()) { mlir::emitError(region->getLoc(), "failed to build subgraph"); return -1; } subgraphs_.push_back(subgraph.value()); subgraph_index_map_[graph_name] = subgraph_index; return subgraph_index; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector_test.go
owners: nil, } } func TestAbsentOwnerCache(t *testing.T) { rc1Pod1 := getPod("rc1Pod1", []metav1.OwnerReference{ { Kind: "ReplicationController", Name: "rc1", UID: "1", APIVersion: "v1", Controller: pointer.Bool(true), }, }) rc1Pod2 := getPod("rc1Pod2", []metav1.OwnerReference{ { Kind: "ReplicationController", Name: "rc1",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.6K bytes - Viewed (0)