- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 93 for outlining (0.3 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/cluster_outlining.mlir
// RUN: tf-opt %s -split-input-file -tf-device-cluster-outlining | FileCheck %s // Tests simple case of a single `tf_device.cluster`. // CHECK-LABEL: func @single_cluster // CHECK-SAME: (%[[ARG_0:[a-z0-9]*]]: tensor<?xi32>) func.func @single_cluster(%arg0: tensor<?xi32>) -> tensor<?xi32> { %0 = tf_executor.graph { %1:2 = tf_executor.island { // CHECK: %[[A_OUTPUT:[0-9]*]] = "tf.A"(%[[ARG_0]])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
} return true; } // Summary information for trivially transforming region based op's to // functional ops. A trivial transformation can be done when the regions are // just calls to functions, in which case no outlining is needed. struct TrivialTransformInfo { // Can the op be transformed trivially? bool can_transform = false; // List of callee names (one for each region). llvm::SmallVector<StringRef, 2> callee_names;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/tfl_while_outline.mlir
// Test to verify loop outlining. // RUN: tf-opt --split-input-file --tfl-while-loop-outline %s | FileCheck %s // Check that while loop outlining is nop if re-ran. // RUN: tf-opt --tfl-while-loop-outline %s -o %t1 // RUN: tf-opt --tfl-while-loop-outline %t1 -o %t2 // RUN: diff %t1 %t2 // CHECK-LABEL: func @while func.func @while() -> tensor<1xf32> attributes {tf.entry_function = {outputs = "result"}} {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 13.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h
"_xla_outside_compilation"; // device attr inline constexpr llvm::StringRef kDeviceAttr = "device"; // Function attribute to signal that a function should be skipped from TPU // island outlining. The attribute is set in // `TpuV1BridgeExecutorIslandCoarsening` and removed in the subsequent // `TPUBridgeExecutorIslandOutlining` pass. inline constexpr llvm::StringRef kSkipIslandOutlining = "_skip_island_outlining";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/passes.h
// This is a V1 backward compatibility. std::unique_ptr<OperationPass<ModuleOp>> CreateTFExecutorTPUV1IslandCoarseningPass(); // Creates a pass to outlining TPU clusters from single IslandOp into a nested // module suitable for being processed as-if it was a V2 module. // This is a V1 backward compatibility. std::unique_ptr<OperationPass<ModuleOp>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 31.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 23 23:53:20 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
TPU-annotated operations and intended to preserve backward compatibility with TFv1. }]; } def TPUBridgeExecutorIslandOutliningPass : Pass<"tf-executor-tpu-v1-island-outlining", "ModuleOp"> { let summary = "Outline TPU clusters from island into a nested module, so it can " "be processed like a V2 module, intended for V1 compatibility mode";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
for (func::FuncOp func_op : getOperation().getOps<func::FuncOp>()) { if (functions_to_skip.contains(func_op)) { OpBuilder builder(func_op); // Mark this function as being skipped in island outlining. func_op->setAttr(mlir::TF::kSkipIslandOutlining, builder.getBoolAttr(true)); continue; } func_op.walk([&](GraphOp graph) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_ant.adoc
We will start by outlining the things you should consider when migrating a build from Ant to Gradle and offer some general guidelines on how to proceed. [[migant:general_guidelines]] == General guidelines
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Mar 23 22:37:03 UTC 2024 - 37.7K bytes - Viewed (0) -
src/time/time.go
// that the leading digit is non-zero. The zero duration formats as 0s. func (d Duration) String() string { // This is inlinable to take advantage of "function outlining". // Thus, the caller can decide whether a string must be heap allocated. var arr [32]byte n := d.format(&arr) return string(arr[n:]) } // format formats the representation of d into the end of buf and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0)