@@ -370,10 +370,12 @@ def __init__(
370370 TODO
371371 maker
372372 The `FunctionMaker` that created this instance.
373- trust_input : bool
374- If True, the inputs are trusted to be correct. This is used to avoid
375- the overhead of checking the inputs for correctness. This should only
376- be used if the inputs are guaranteed to be correct.
373+ trust_input : bool, default False
374+ If True, no input validation checks are performed when the function is
375+ called. This includes checking the number of inputs, their types and
376+ that multiple inputs are not aliased to each other. Failure to meet any
377+ of these conditions can lead to computational errors or to the
378+ interpreter crashing.
377379 name
378380 A string name.
379381 """
@@ -1308,10 +1310,12 @@ class FunctionMaker:
13081310 name : str
13091311 An optional name for this function. If used, the profile mode will
13101312 print the time spent in this function.
1311- trust_input : bool
1312- If True, the inputs are trusted to be correct. This is used to avoid
1313- the overhead of checking the inputs for correctness. This should only
1314- be used if the inputs are guaranteed to be correct.
1313+ trust_input : bool, default False
1314+ If True, no input validation checks are performed when the function is
1315+ called. This includes checking the number of inputs, their types and
1316+ that multiple inputs are not aliased to each other. Failure to meet any
1317+ of these conditions can lead to computational errors or to the
1318+ interpreter crashing.
13151319 """
13161320
13171321 @staticmethod
@@ -1747,10 +1751,12 @@ def orig_function(
17471751 fgraph
17481752 An existing `FunctionGraph` to use instead of constructing a new one
17491753 from cloned `outputs`.
1750- trust_input : bool
1751- If True, the inputs are trusted to be correct. This is used to avoid
1752- the overhead of checking the inputs for correctness. This should only
1753- be used if the inputs are guaranteed to be correct.
1754+ trust_input : bool, default False
1755+ If True, no input validation checks are performed when the function is
1756+ called. This includes checking the number of inputs, their types and
1757+ that multiple inputs are not aliased to each other. Failure to meet any
1758+ of these conditions can lead to computational errors or to the
1759+ interpreter crashing.
17541760 """
17551761
17561762 if profile :
0 commit comments