tf_function | R Documentation |

`tf_function`

constructs a callable that executes a TensorFlow graph created
by tracing the TensorFlow operations in `f`

. This allows the TensorFlow
runtime to apply optimizations and exploit parallelism in the computation
defined by `f`

.

```
tf_function(f, input_signature = NULL, autograph = TRUE, ...)
```

`f` |
the function to be compiled |

`input_signature` |
A possibly nested sequence of |

`autograph` |
TRUE or FALSE. If TRUE (the default), you can use tensors in
R control flow expressions |

`...` |
additional arguments passed on to |

A guide to getting started with
`tf.function`

can
be found here.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.