MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ExpandInlineFunctionsOptions

Class ExpandInlineFunctionsOptions

tensorflow/core/common_runtime/function.h:326–334  ·  view source on GitHub ↗

There are three types of function calls that could be invoked during Tensorflow graph execution*: 1) Native function call (node.type_string() is the function name). These functions are always executed on a single-device, which is the device of the function call node. 2) Multi-device function calls (PartitionedCall or StatefulPartitionedCall ops) can execute on multiple devices and accept DT_RESO

Source from the content-addressed store, hash-verified

324// 2) tf.data pipelines - also execute functions directly via function library
325// runtime with custom executors.
326struct ExpandInlineFunctionsOptions {
327 ExpandInlineFunctionsOptions() : native_options(), multi_device_options() {
328 using OutputControlSrc = InlineFunctionBodyOptions::OutputControlSource;
329 multi_device_options.output_control_src = OutputControlSrc::kControlOutputs;
330 }
331
332 InlineFunctionBodyOptions native_options;
333 InlineFunctionBodyOptions multi_device_options;
334};
335
336// WARNING(ezhulenev): PLEASE DO NOT USE THIS FUNCTION. This is a temporary
337// workaround that will be enabled only during the function inlining unification

Callers 1

ExpandInlineFunctionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected