This repository was archived by the owner on Jul 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,9 @@ When adding new ops, look for:
215215
216216Experimental APIs are APIs which have the word 'experimental' somewhere in their
217217name; for example ` tf.experimental.foo ` , or ` tf.foo.experimental.Bar ` , or
218- ` tf.foo(experimental_bar=True) ` or ` tf.Foo().experimental_bar() ` .
218+ ` tf.foo(experimental_bar=True) ` or ` tf.Foo().experimental_bar() ` . We generally
219+ prefer experimental namespaces when possible, so prefer
220+ ` tf.foo.experimental.Bar ` over ` tf.foo.ExperimentalBar ` .
219221
220222Experimental APIs are APIs intended to be added to TensorFlow as-is, but which
221223we reserve the right to change in backwards-incompatible ways if we have
@@ -246,7 +248,7 @@ Experimental APIs are not a license to break users. This means:
246248
247249Small changes which are mentioned in relnotes and have obvious fixes might be
248250made (for example if adding a new argument to a long argument list and we
249- believe there are no pass-by-position users we might allow the new argument to
251+ believe there are few pass-by-position users we might allow the new argument to
250252be added to the middle and not the end of the parameter list).
251253
252254Large backwards-incompatible changes to experimental APIs still require an
You can’t perform that action at this time.
0 commit comments