- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for body_fn (0.22 sec)
-
tensorflow/cc/framework/while_gradients.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:35:32 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td
results: a list of futures. body_fn: its input are [predicate_promise, arg0_future, arg0_promise, arg1_future, arg1_promise, ..., invariant_args] and has no returned results. }]; let arguments = (ins TFTensorType:$cond, Variadic<TFTensorType>:$arguments, FlatSymbolRefAttr:$body_fn, I32Attr:$invariant_size);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/while_to_map_fn.mlir
// CHECK: [[map_fn_result:%.*]] = tf_mlrt.tf_map_fn([[reserve_size]], [[tensor_list]], %arg0) // CHECK-SAME: {body_fn = @"map/while_body/MapFnBody", num_tensor_list_or_flow_in = 1 : i32} // CHECK-NOT: tf.While
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 06:40:22 UTC 2024 - 68.6K bytes - Viewed (0) -
tensorflow/c/c_api.cc
/* nreturn_nodes */ 1, &cond_output)); *output = cond_output[0]; return absl::OkStatus(); }; // 'body_fn' copies the body graph into the parent graph. tensorflow::ops::BodyGraphBuilderFn body_fn = [params, parent, num_loop_vars]( const tensorflow::Scope& scope, const std::vector<tensorflow::Output>& inputs,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
// SmallVector<Values, 4> new_values; // for (int i = 0; i < num_iterations; ++i) { // body_fn(old_values, &new_values, ...); // old_values = new_values; // } // ``` // // Under the hood an induction variable is prepended to values to control the // number of iterations, but that is transparent to `body_fn`, which does not // need to care about that. static void CreateWhile32(Location loc, int num_iterations,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
auto cond_fn = symbol_table.lookupNearestSymbolFrom<func::FuncOp>(*this, getCondAttr()); auto body_fn = symbol_table.lookupNearestSymbolFrom<func::FuncOp>(*this, getBodyAttr()); if (!cond_fn) { return emitOpError("cond refers to an undefined function : ") << getCond(); } if (!body_fn) { return emitOpError("body refers to an undefined function : ") << getBody(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
src/encoding/asn1/marshal.go
t.tag = bytesEncoder(appendTagAndLength(t.scratch[:0], tagAndLength{ClassUniversal, tag, bodyLen, isCompound})) tt := new(taggedEncoder) tt.body = t tt.tag = bytesEncoder(appendTagAndLength(tt.scratch[:0], tagAndLength{ class: class, tag: *params.tag, length: bodyLen + t.tag.Len(), isCompound: true, })) return tt, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc
} LogicalResult FindOwningWhileOp(func::FuncOp body_func, ModuleOp module, TF::WhileOp* while_op) { // Given a while loop body function 'body_func', find the tf.While Op that // uses it. auto uses_optional = body_func.getSymbolUses(module); if (!uses_optional.has_value()) { body_func.emitOpError() << "no use of while loop body"; return LogicalResult::failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc
} LogicalResult FindOwningWhileOp(func::FuncOp body_func, ModuleOp module, TF::WhileOp& while_op) { // Given a while loop body function 'body_func', find the tf.While Op that // uses it. auto uses_optional = body_func.getSymbolUses(module); if (!uses_optional.has_value()) { body_func.emitOpError() << "no use of while loop body"; return LogicalResult::failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0)