@@ -242,25 +242,24 @@ public boolean hasReduceRetracingParam() {
242242 }
243243
244244 /**
245- * True iff this {@link Function}'s {@link decoratorsType} has parameter experimental_compile. In our accepted interval versions of
246- * the API, it allows parameter names jit_compile and deprecated name experimental_compile. If a client is using this, they might
247- * not know about what is deprecated or not, therefore we need to include all the deprecated arguments to be complete.
245+ * True iff this {@link Function}'s {@link decoratorsType} has parameter experimental_compile.
248246 *
249247 * @return True iff this {@link Function} has parameter experimental_compile.
250248 */
251249 public boolean hasExperimentalCompileParam () {
250+ // Since jit_compile and experimental_compile (deprecated) have the same functionalities, when we parse these parameters we put
251+ // look for both strings and store it into this boolean variable.
252252 return this .jitCompileParamExists ;
253253 }
254254
255255 /**
256- * True iff this {@link Function}'s {@link decoratorsType} has parameter experimental_relax_shapes. In our accepted interval
257- * versions of the API, it allows parameter names reduce_retracing and deprecated name experimental_relax_shapes. If a client is
258- * using this, they might not know about what is deprecated or not, therefore we need to include all the deprecated arguments to be
259- * complete.
256+ * True iff this {@link Function}'s {@link decoratorsType} has parameter experimental_relax_shapes.
260257 *
261258 * @return True iff this {@link Function} has parameter experimental_relax_shapes.
262259 */
263260 public boolean hasExperimentalRelaxShapesParam () {
261+ // Since reduce_retracing and experimental_relax_shapes (deprecated) have the same functionalities, when we parse these
262+ // parameters we put look for both strings and store it into this boolean variable.
264263 return this .reduceRetracingParamExists ;
265264 }
266265
0 commit comments