Test parameter flags#

class ivy_tests.test_ivy.helpers.test_parameter_flags.DynamicFlag(strategy)[source]#

Bases: object

__init__(strategy)[source]#
strategy: SearchStrategy#
class ivy_tests.test_ivy.helpers.test_parameter_flags.FrontendFunctionTestFlags(num_positional_args, with_out, with_copy, inplace, as_variable, native_arrays, test_trace, test_trace_each, generate_frontend_arrays, transpile, precision_mode)[source]#

Bases: TestFlags

__init__(num_positional_args, with_out, with_copy, inplace, as_variable, native_arrays, test_trace, test_trace_each, generate_frontend_arrays, transpile, precision_mode)[source]#
apply_flags(args_to_iterate, input_dtypes, offset, *, backend, on_device)[source]#
class ivy_tests.test_ivy.helpers.test_parameter_flags.FrontendInitTestFlags(num_positional_args, as_variable, native_arrays)[source]#

Bases: TestFlags

__init__(num_positional_args, as_variable, native_arrays)[source]#
apply_flags(args_to_iterate, input_dtypes, offset, *, backend, on_device)[source]#
class ivy_tests.test_ivy.helpers.test_parameter_flags.FrontendMethodTestFlags(num_positional_args, as_variable, native_arrays, precision_mode, inplace, test_trace, test_trace_each, generate_frontend_arrays)[source]#

Bases: TestFlags

__init__(num_positional_args, as_variable, native_arrays, precision_mode, inplace, test_trace, test_trace_each, generate_frontend_arrays)[source]#
apply_flags(args_to_iterate, input_dtypes, offset, *, backend, on_device)[source]#
class ivy_tests.test_ivy.helpers.test_parameter_flags.FunctionTestFlags(ground_truth_backend, num_positional_args, with_out, with_copy, instance_method, as_variable, native_arrays, container, test_gradients, test_trace, test_trace_each, transpile, precision_mode, test_cython_wrapper)[source]#

Bases: TestFlags

__init__(ground_truth_backend, num_positional_args, with_out, with_copy, instance_method, as_variable, native_arrays, container, test_gradients, test_trace, test_trace_each, transpile, precision_mode, test_cython_wrapper)[source]#
apply_flags(args_to_iterate, input_dtypes, offset, *, backend, on_device)[source]#
class ivy_tests.test_ivy.helpers.test_parameter_flags.InitMethodTestFlags(num_positional_args, as_variable, native_arrays, precision_mode)[source]#

Bases: TestFlags

__init__(num_positional_args, as_variable, native_arrays, precision_mode)[source]#
apply_flags(args_to_iterate, input_dtypes, offset, *, backend, on_device)[source]#
class ivy_tests.test_ivy.helpers.test_parameter_flags.MethodTestFlags(num_positional_args, as_variable, native_arrays, container_flags, precision_mode)[source]#

Bases: TestFlags

__init__(num_positional_args, as_variable, native_arrays, container_flags, precision_mode)[source]#
apply_flags(args_to_iterate, input_dtypes, offset, *, backend, on_device)[source]#
class ivy_tests.test_ivy.helpers.test_parameter_flags.TestFlags[source]#

Bases: object

apply_flags(args_to_iterate, input_dtypes, offset, *, backend, on_device)[source]#
ivy_tests.test_ivy.helpers.test_parameter_flags.build_flag(key, value)[source]#
ivy_tests.test_ivy.helpers.test_parameter_flags.frontend_function_flags(*, num_positional_args, with_out, with_copy, inplace, as_variable, native_arrays, test_trace, test_trace_each, generate_frontend_arrays, transpile, precision_mode)#
Return type:

SearchStrategy

ivy_tests.test_ivy.helpers.test_parameter_flags.frontend_init_flags(*, num_positional_args, as_variable, native_arrays)#
Return type:

SearchStrategy

ivy_tests.test_ivy.helpers.test_parameter_flags.frontend_method_flags(*, num_positional_args, as_variable, native_arrays, precision_mode, inplace, test_trace, test_trace_each, generate_frontend_arrays)#
Return type:

SearchStrategy

ivy_tests.test_ivy.helpers.test_parameter_flags.function_flags(*, ground_truth_backend, num_positional_args, instance_method, with_out, with_copy, test_gradients, test_trace, test_trace_each, transpile, as_variable, native_arrays, container_flags, precision_mode, test_cython_wrapper)#
Return type:

SearchStrategy

ivy_tests.test_ivy.helpers.test_parameter_flags.init_method_flags(*, num_positional_args, as_variable, native_arrays, precision_mode)#
Return type:

SearchStrategy

ivy_tests.test_ivy.helpers.test_parameter_flags.method_flags(*, num_positional_args, as_variable, native_arrays, container_flags, precision_mode)#
Return type:

SearchStrategy