Test parameter flags#

class ivy_tests.test_ivy.helpers.test_parameter_flags.FrontendFunctionTestFlags(num_positional_args, with_out, inplace, as_variable, native_arrays, generate_frontend_arrays)[source]#

Bases: TestFlags

__init__(num_positional_args, with_out, inplace, as_variable, native_arrays, generate_frontend_arrays)[source]#
apply_flags(args_to_iterate, input_dtypes, on_device, offset)[source]#
class ivy_tests.test_ivy.helpers.test_parameter_flags.FrontendMethodTestFlags(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, on_device, offset)[source]#
class ivy_tests.test_ivy.helpers.test_parameter_flags.FunctionTestFlags(num_positional_args, with_out, instance_method, as_variable, native_arrays, container, test_gradients, test_compile)[source]#

Bases: TestFlags

__init__(num_positional_args, with_out, instance_method, as_variable, native_arrays, container, test_gradients, test_compile)[source]#
apply_flags(args_to_iterate, input_dtypes, on_device, offset)[source]#
class ivy_tests.test_ivy.helpers.test_parameter_flags.InitMethodTestFlags(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, on_device, offset)[source]#
class ivy_tests.test_ivy.helpers.test_parameter_flags.MethodTestFlags(num_positional_args, as_variable, native_arrays, container_flags)[source]#

Bases: TestFlags

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

Bases: object

apply_flags(args_to_iterate, input_dtypes, on_device, offset)[source]#
ivy_tests.test_ivy.helpers.test_parameter_flags.as_cont(*, x)[source]#

Return x as an Ivy Container, containing x at all its leaves.

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, inplace, as_variable, native_arrays, generate_frontend_arrays)[source]#
Return type:

SearchStrategy

ivy_tests.test_ivy.helpers.test_parameter_flags.frontend_method_flags(*, num_positional_args, as_variable, native_arrays)[source]#
Return type:

SearchStrategy

ivy_tests.test_ivy.helpers.test_parameter_flags.function_flags(*, num_positional_args, instance_method, with_out, test_gradients, test_compile, as_variable, native_arrays, container_flags)[source]#
Return type:

SearchStrategy

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

SearchStrategy

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

SearchStrategy