- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 405 for nFront (0.22 sec)
-
tensorflow/compiler/mlir/lite/transforms/pin_ops_with_side_effects.cc
// We only need to consider functions with single-block bodies, as // this is an assumption flatbuffer_export makes, and this pass is // operating on IRs ready for exporting. for (Operation &op : fn.getBody().front().without_terminator()) { // We have to recurse, since we might have wrapped a side-effectful operator // in a tfl::CustomTfOp. if (op.walk([&](Operation *inner_op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/insert_call_once_op.cc
func->getAttrOfType<mlir::DictionaryAttr>("tf.entry_function"); if (!dict_attr) continue; OpBuilder builder(func.getContext()); builder.setInsertionPointToStart(&func.getBlocks().front()); builder.create<TFL::CallOnceOp>(func.getLoc(), init_func_op.getName()); } } } } // namespace // Inserts a TFL::CallOnce op when tf_saved_model's session initializer is // given.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 01 05:03:09 UTC 2023 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc
const Location loc) { if (states.empty() || states.front().pos == RequantizeState::NO_REQUANTIZE) { return; } if (states.front().pos == RequantizeState::ON_INPUT) { RequantizeState& state = states.front(); const Type expressed_type = value.getType(); // The value needs to be requantized. A Quantize op will be created to use
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 38.1K bytes - Viewed (0) -
src/internal/trace/raw/writer.go
// It may not produce a byte-for-byte compatible trace from what is // produced by the runtime, because it may be missing extra padding // in the LEB128 encoding that the runtime adds but isn't necessary // when you know the data up-front. type Writer struct { w io.Writer buf []byte v version.Version specs []event.Spec } // NewWriter creates a new byte format writer.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/verify_suitable_for_graph_export.cc
function.emitError(kInvalidExecutorGraphMsg) << "only single block functions are supported"; return mlir::WalkResult::interrupt(); } auto block = function.front().without_terminator(); auto graph = llvm::dyn_cast<mlir::tf_executor::GraphOp>(block.begin()); if (!graph) { block.begin()->emitError(kInvalidExecutorGraphMsg)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 30 02:12:49 UTC 2022 - 2.4K bytes - Viewed (0) -
src/net/splice_linux_test.go
} } func testSpliceIssue25985(t *testing.T, upNet, downNet string) { front := newLocalListener(t, upNet) defer front.Close() back := newLocalListener(t, downNet) defer back.Close() var wg sync.WaitGroup wg.Add(2) proxy := func() { src, err := front.Accept() if err != nil { return } dst, err := Dial(downNet, back.Addr().String())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 14.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/cluster_util.cc
const Cluster& c, const llvm::DenseMap<Operation*, Cluster*>& op_to_cluster_map) { llvm::SetVector<Operation*> ops_depend_on_cluster; for (Operation& op : *c.ops.front()->getBlock()) { if (op.isBeforeInBlock(c.ops.front()) || c.ops.contains(&op)) { continue; } // Gets the live in values of the `op` llvm::SetVector<Value> live_ins(op.operand_begin(), op.operand_end());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 28 00:32:55 UTC 2023 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
block_arg_types); if (control_flow_blocks.contains(®ion.front())) { ops_to_visit.push_back( {/*region_idx=*/std::nullopt, block_token, ®ion.front().front()}); return; } RewriteControlFlowTerminator(builder, region.front().getTerminator(),
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/tensorflow/transforms/xla_inline_device_ops.cc
for (Operation& op : block.without_terminator()) { non_terminator_ops.push_back(&op); } for (auto op : non_terminator_ops) { op->moveBefore(cluster_op); } auto& return_op = cluster_op.GetBody().front(); // This is the last op, should be tf_device::ReturnOp. assert(mlir::isa<mlir::tf_device::ReturnOp>(return_op)); Value old_val, new_val; for (auto it : llvm::zip(cluster_op.getResults(), return_op.getOperands())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 04 00:59:46 UTC 2022 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/serving_with_loopback.go
if err != nil { return fmt.Errorf("failed to generate self-signed certificate for loopback connection: %v", err) } // Write to the front of SNICerts so that this overrides any other certs with the same name (*secureServingInfo).SNICerts = append([]dynamiccertificates.SNICertKeyContentProvider{certProvider}, (*secureServingInfo).SNICerts...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 23 00:50:06 UTC 2021 - 2.8K bytes - Viewed (0)