Convert Machine Learning Code Between Frameworks
This report presents the forensic synthetic code analysis of unifyai/ivy, a Python project with 14,172 GitHub stars. SynthScan v2.0 examined 486,056 lines of code across 1543 source files, recording 4323 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 10.3 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 4323 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ivy/__init__.py | 995 | def _assert_array_significant_figures_formatting(sig_figs): | CODE |
| LOW | ivy/__init__.py | 1039 | def set_array_significant_figures(sig_figs): | CODE |
| LOW | ivy/__init__.py | 1053 | def unset_array_significant_figures(): | CODE |
| LOW | ivy/__init__.py | 1069 | def _assert_array_decimal_values_formatting(dec_vals): | CODE |
| LOW | ivy/__init__.py | 1093 | def unset_array_decimal_values(): | CODE |
| LOW | ivy/__init__.py | 1559 | def _get_module_and_replace_name(module_name: str): | CODE |
| LOW⚡ | ivy/func_wrapper.py | 658 | def _convert_numpy_arrays_to_backend_specific(*args): | CODE |
| LOW⚡ | ivy/func_wrapper.py | 667 | def handle_numpy_arrays_in_specific_backend(fn: Callable) -> Callable: | CODE |
| LOW⚡ | ivy/func_wrapper.py | 676 | def _handle_numpy_array_in_torch(*args, **kwargs): | CODE |
| LOW | ivy/func_wrapper.py | 152 | def try_array_function_override(func, overloaded_args, types, args, kwargs): | CODE |
| LOW | ivy/func_wrapper.py | 230 | def _check_in_nested_sequence(sequence, value=None, _type=None): | CODE |
| LOW | ivy/func_wrapper.py | 334 | def handle_array_like_without_promotion(fn: Callable) -> Callable: | CODE |
| LOW | ivy/func_wrapper.py | 336 | def _handle_array_like_without_promotion(*args, **kwargs): | CODE |
| LOW | ivy/func_wrapper.py | 486 | def to_native_shapes_and_back(fn: Callable) -> Callable: | CODE |
| LOW | ivy/func_wrapper.py | 563 | def to_native_arrays_and_back(fn: Callable) -> Callable: | CODE |
| LOW | ivy/func_wrapper.py | 573 | def frontend_outputs_to_ivy_arrays(fn: Callable) -> Callable: | CODE |
| LOW | ivy/func_wrapper.py | 955 | def handle_partial_mixed_function(fn) -> Callable: | CODE |
| LOW | ivy/func_wrapper.py | 957 | def _handle_partial_mixed_function(*args, **kwargs): | CODE |
| LOW | ivy/func_wrapper.py | 1214 | def _versioned_attribute_factory(attribute_function, base): | CODE |
| LOW | ivy/func_wrapper.py | 1245 | def _dtype_device_wrapper_creator(attrib, t): | CODE |
| LOW | ivy/tracer/reloader.py | 95 | def has_touched_function_or_class(module): | CODE |
| LOW | ivy/tracer/truncations.py | 140 | def _get_output_ids_recursive(graph_node: Node, output: Union[List, Tuple], i: int): | CODE |
| LOW | ivy/tracer/truncations.py | 604 | def get_tensorflow_truncations(): | CODE |
| LOW | ivy/tracer/tracked_var_proxy.py | 36 | def _override_tensor_shape_proxy() -> bool: | CODE |
| LOW | ivy/tracer/tracked_var_proxy.py | 161 | def unset_tf_tensor_shape_override(): | CODE |
| LOW | ivy/tracer/graph.py | 720 | def _stop_tracking_constant_fns_output(self, receiving_fn, id_): | CODE |
| LOW | ivy/tracer/graph.py | 1207 | def list_function_frequencies( | CODE |
| LOW | ivy/tracer/graph.py | 1899 | def list_function_frequencies(self, *args, **kwargs): | CODE |
| LOW | ivy/tracer/conversion.py | 313 | def native_array_to_new_frontend(x, frontend_type): | CODE |
| LOW | ivy/tracer/conversion.py | 343 | def nest_native_array_to_new_frontend(nest, input_nest): | CODE |
| LOW | ivy/tracer/conversion.py | 445 | def nest_array_to_new_backend( | CODE |
| LOW | ivy/tracer/exchange.py | 17 | def _get_backend_fn_from_path(fn_path: str): | CODE |
| LOW | ivy/tracer/exchange.py | 37 | def _convert_wrapped_function_to_dict(wrapped_fn: Node, func_to_id: Mapping): | CODE |
| LOW | ivy/tracer/README.md | 51 | def _wrap_function_for_op_logging(fn: Callable, graph: Graph, ...) -> Callable: | CODE |
| LOW | ivy/tracer/wrapping.py | 193 | def _get_incoming_iterator_fns(node, ongoing_iterator_chain) -> List: | CODE |
| LOW | ivy/tracer/wrapping.py | 202 | def _append_to_iterator_chain(node, from_ongoing_iterator_chain) -> bool: | CODE |
| LOW | ivy/tracer/wrapping.py | 218 | def _wrap_function_for_op_logging( | CODE |
| LOW | ivy/tracer/wrapping.py | 977 | def _unwrap_function_from_op_logging(function_wrapped): | CODE |
| LOW | ivy/tracer/wrapping.py | 1102 | def _wrap_functions_for_op_logging( | CODE |
| LOW | ivy/tracer/wrapping.py | 1311 | def _unwrap_functions_from_op_logging( | CODE |
| LOW | ivy/tracer/graph_optimizer.py | 229 | def apply_possible_optimizations(graph: Graph, backend: str = "tensorflow"): | CODE |
| LOW | ivy/tracer/helpers.py | 43 | def _check_is_trainable_module(obj, to): | CODE |
| LOW | ivy/tracer/helpers.py | 97 | def _get_arg_callback_functions(args): | CODE |
| LOW | ivy/tracer/helpers.py | 118 | def _get_kwarg_callback_functions(kwargs): | CODE |
| LOW | ivy/tracer/helpers.py | 172 | def _convert_callbacks_to_lazy_graphs(graph, fn, args, kwargs): | CODE |
| LOW | ivy/tracer/helpers.py | 255 | def _format_missing_frontends_msg(frequency): | CODE |
| LOW | ivy/tracer/helpers.py | 315 | def contain_stored_class_instance(args) -> bool: | CODE |
| LOW | ivy/tracer/helpers.py | 657 | def class_method_to_instance_method(method_wrapper, instance): | STRING |
| LOW | ivy/tracer/source_gen.py | 648 | def replace_nontracked_from_reprs(self, reprs, param_ids, tracked_idxs): | CODE |
| LOW | ivy/tracer/source_gen.py | 958 | def remove_non_constant_nests_idxs(nontracked_idxs, nestables_idxs, tracked_idxs): | CODE |
| LOW | ivy/tracer/tracer.py | 114 | def _restore_native_compiler_flag(original_flag): | CODE |
| LOW | ivy/tracer/tracer.py | 149 | def _restore_transformed_callables(): | CODE |
| LOW | …er/control_flow_experimental/autograph_ivy/core/api.py | 113 | def _is_of_known_loaded_module(f, module_name): | CODE |
| LOW | …ow_experimental/autograph_ivy/operators/py_builtins.py | 49 | def locals_in_original_context(caller_fn_scope): | CODE |
| LOW | …ow_experimental/autograph_ivy/operators/py_builtins.py | 54 | def globals_in_original_context(caller_fn_scope): | CODE |
| LOW | …ow_experimental/autograph_ivy/operators/py_builtins.py | 74 | def super_in_original_context(f, args, caller_fn_scope): | CODE |
| LOW | …_experimental/autograph_ivy/converters/control_flow.py | 51 | def _create_nonlocal_declarations(self, vars_): | CODE |
| LOW | …_experimental/autograph_ivy/converters/control_flow.py | 67 | def _create_undefined_assigns(self, undefined_symbols): | CODE |
| LOW | …_experimental/autograph_ivy/converters/control_flow.py | 93 | def _get_block_composite_vars(self, modified, live_in): | STRING |
| LOW | …l_flow_experimental/autograph_ivy/converters/slices.py | 28 | def _process_single_assignment(self, target, value): | CODE |
| 1300 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ivy/__init__.py | 16 | CODE | |
| LOW | ivy/__init__.py | 750 | CODE | |
| LOW | ivy/__init__.py | 752 | CODE | |
| LOW | ivy/__init__.py | 755 | CODE | |
| LOW | ivy/__init__.py | 760 | CODE | |
| LOW | ivy/__init__.py | 761 | CODE | |
| LOW | ivy/__init__.py | 761 | CODE | |
| LOW | ivy/__init__.py | 761 | CODE | |
| LOW | ivy/__init__.py | 761 | CODE | |
| LOW | ivy/__init__.py | 761 | CODE | |
| LOW | ivy/__init__.py | 768 | CODE | |
| LOW | ivy/__init__.py | 768 | CODE | |
| LOW | ivy/__init__.py | 768 | CODE | |
| LOW | ivy/__init__.py | 768 | CODE | |
| LOW | ivy/__init__.py | 768 | CODE | |
| LOW | ivy/__init__.py | 768 | CODE | |
| LOW | ivy/__init__.py | 768 | CODE | |
| LOW | ivy/__init__.py | 768 | CODE | |
| LOW | ivy/__init__.py | 768 | CODE | |
| LOW | ivy/__init__.py | 768 | CODE | |
| LOW | ivy/__init__.py | 768 | CODE | |
| LOW | ivy/__init__.py | 768 | CODE | |
| LOW | ivy/__init__.py | 784 | CODE | |
| LOW | ivy/__init__.py | 787 | CODE | |
| LOW | ivy/__init__.py | 788 | CODE | |
| LOW | ivy/__init__.py | 789 | CODE | |
| LOW | ivy/__init__.py | 790 | CODE | |
| LOW | ivy/__init__.py | 791 | CODE | |
| LOW | ivy/__init__.py | 1252 | CODE | |
| LOW | ivy/__init__.py | 1252 | CODE | |
| LOW | ivy/__init__.py | 1252 | CODE | |
| LOW | ivy/__init__.py | 798 | CODE | |
| LOW | ivy/__init__.py | 799 | CODE | |
| LOW | ivy/__init__.py | 799 | CODE | |
| LOW | ivy/tracer/__init__.py | 1 | CODE | |
| LOW | ivy/tracer/__init__.py | 2 | CODE | |
| LOW | ivy/tracer/__init__.py | 2 | CODE | |
| LOW | ivy/tracer/__init__.py | 3 | CODE | |
| LOW | ivy/tracer/__init__.py | 4 | CODE | |
| LOW | ivy/tracer/__init__.py | 5 | CODE | |
| LOW | ivy/tracer/__init__.py | 6 | CODE | |
| LOW | ivy/tracer/wrapping.py | 29 | CODE | |
| LOW | ivy/tracer/helpers.py | 8 | CODE | |
| LOW | ivy/tracer/tracer.py | 15 | CODE | |
| LOW | ivy/tracer/control_flow_experimental/__init__.py | 1 | CODE | |
| LOW | ivy/tracer/control_flow_experimental/__init__.py | 2 | CODE | |
| LOW | …er/control_flow_experimental/autograph_ivy/__init__.py | 16 | CODE | |
| LOW | …er/control_flow_experimental/autograph_ivy/__init__.py | 17 | CODE | |
| LOW | …er/control_flow_experimental/autograph_ivy/__init__.py | 18 | CODE | |
| LOW | …er/control_flow_experimental/autograph_ivy/__init__.py | 19 | CODE | |
| LOW | …er/control_flow_experimental/autograph_ivy/__init__.py | 20 | CODE | |
| LOW | …er/control_flow_experimental/autograph_ivy/__init__.py | 21 | CODE | |
| LOW | …er/control_flow_experimental/autograph_ivy/__init__.py | 22 | CODE | |
| LOW | …er/control_flow_experimental/autograph_ivy/__init__.py | 23 | CODE | |
| LOW | …er/control_flow_experimental/autograph_ivy/__init__.py | 24 | CODE | |
| LOW | …er/control_flow_experimental/autograph_ivy/__init__.py | 25 | CODE | |
| LOW | …ntrol_flow_experimental/autograph_ivy/core/__init__.py | 1 | CODE | |
| LOW | …ntrol_flow_experimental/autograph_ivy/core/__init__.py | 2 | CODE | |
| LOW | …ntrol_flow_experimental/autograph_ivy/core/__init__.py | 3 | CODE | |
| LOW | …ntrol_flow_experimental/autograph_ivy/core/__init__.py | 4 | CODE | |
| 1371 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ivy/func_wrapper.py | 652 | CODE | |
| LOW | ivy/func_wrapper.py | 679 | CODE | |
| LOW | ivy/tracer/tracked_var_proxy.py | 201 | CODE | |
| LOW | ivy/tracer/tracked_var_proxy.py | 206 | CODE | |
| LOW | ivy/tracer/tracked_var_proxy.py | 580 | CODE | |
| LOW | ivy/tracer/graph.py | 190 | CODE | |
| LOW | ivy/tracer/graph.py | 1588 | CODE | |
| LOW | ivy/tracer/graph.py | 1966 | CODE | |
| LOW | ivy/tracer/tracer.py | 158 | CODE | |
| LOW | ivy/tracer/tracer.py | 401 | CODE | |
| LOW | ivy/tracer/tracer.py | 713 | CODE | |
| LOW | ivy/tracer/tracer.py | 842 | CODE | |
| LOW | …l/autograph_ivy/pyct/static_analysis/type_inference.py | 157 | CODE | |
| LOW | …graph_ivy/pyct/static_analysis/reaching_definitions.py | 82 | CODE | |
| LOW | …aph_ivy/test_suite/neural_nets_dynamic_control_flow.py | 66 | CODE | |
| LOW | ivy/transpiler/core/object_like.py | 71 | CODE | |
| LOW | ivy/transpiler/core/object_like.py | 523 | CODE | |
| LOW | …xamples/DistilledVisionTransformer/s2s_distilledvit.py | 105 | CODE | |
| LOW | …xamples/DistilledVisionTransformer/s2s_distilledvit.py | 187 | CODE | |
| LOW | ivy/transpiler/examples/CFLow/helpers.py | 120 | CODE | |
| LOW | ivy/transpiler/examples/CFLow/helpers.py | 178 | CODE | |
| LOW | ivy/transpiler/examples/GLPDepth/s2s_glpdepth.py | 69 | CODE | |
| LOW | ivy/transpiler/examples/GLPDepth/s2s_glpdepth.py | 121 | CODE | |
| LOW | ivy/transpiler/examples/GLPDepth/mit.py | 152 | CODE | |
| LOW | ivy/transpiler/examples/GLPDepth/mit.py | 260 | CODE | |
| LOW | ivy/transpiler/examples/Swin2SR/s2s_swin2sr.py | 275 | CODE | |
| LOW | ivy/transpiler/examples/Swin2SR/s2s_swin2sr.py | 506 | CODE | |
| LOW | ivy/transpiler/examples/Swin2SR/s2s_swin2sr.py | 671 | CODE | |
| LOW | ivy/transpiler/examples/Swin2SR/s2s_swin2sr.py | 896 | CODE | |
| LOW | ivy/data_classes/array/layers.py | 389 | CODE | |
| LOW | ivy/data_classes/array/experimental/linear_algebra.py | 526 | CODE | |
| LOW | ivy/data_classes/array/experimental/linear_algebra.py | 607 | CODE | |
| LOW | ivy/data_classes/array/experimental/statistical.py | 10 | CODE | |
| LOW | ivy/data_classes/nested_array/base.py | 135 | CODE | |
| LOW | ivy/data_classes/nested_array/base.py | 271 | CODE | |
| LOW | ivy/data_classes/container/linear_algebra.py | 18 | CODE | |
| LOW | ivy/data_classes/container/linear_algebra.py | 91 | CODE | |
| LOW | ivy/data_classes/container/linear_algebra.py | 529 | CODE | |
| LOW | ivy/data_classes/container/linear_algebra.py | 614 | CODE | |
| LOW | ivy/data_classes/container/linear_algebra.py | 1381 | CODE | |
| LOW | ivy/data_classes/container/linear_algebra.py | 1474 | CODE | |
| LOW | ivy/data_classes/container/linear_algebra.py | 1612 | CODE | |
| LOW | ivy/data_classes/container/linear_algebra.py | 1706 | CODE | |
| LOW | ivy/data_classes/container/linear_algebra.py | 2719 | CODE | |
| LOW | ivy/data_classes/container/linear_algebra.py | 2812 | CODE | |
| LOW | ivy/data_classes/container/linear_algebra.py | 2952 | CODE | |
| LOW | ivy/data_classes/container/linear_algebra.py | 3066 | CODE | |
| LOW | ivy/data_classes/container/manipulation.py | 250 | CODE | |
| LOW | ivy/data_classes/container/manipulation.py | 332 | CODE | |
| LOW | ivy/data_classes/container/manipulation.py | 708 | CODE | |
| LOW | ivy/data_classes/container/manipulation.py | 825 | CODE | |
| LOW | ivy/data_classes/container/statistical.py | 13 | CODE | |
| LOW | ivy/data_classes/container/statistical.py | 99 | CODE | |
| LOW | ivy/data_classes/container/statistical.py | 265 | CODE | |
| LOW | ivy/data_classes/container/statistical.py | 403 | CODE | |
| LOW | ivy/data_classes/container/statistical.py | 520 | CODE | |
| LOW | ivy/data_classes/container/statistical.py | 591 | CODE | |
| LOW | ivy/data_classes/container/statistical.py | 729 | CODE | |
| LOW | ivy/data_classes/container/statistical.py | 869 | CODE | |
| LOW | ivy/data_classes/container/statistical.py | 895 | CODE | |
| 385 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ivy/func_wrapper.py | 56 | CODE | |
| LOW | ivy/func_wrapper.py | 270 | CODE | |
| LOW | ivy/func_wrapper.py | 334 | CODE | |
| LOW | ivy/func_wrapper.py | 778 | CODE | |
| LOW | ivy/func_wrapper.py | 1008 | CODE | |
| LOW | ivy/func_wrapper.py | 1101 | CODE | |
| LOW | ivy/func_wrapper.py | 1245 | CODE | |
| LOW | ivy/func_wrapper.py | 1393 | CODE | |
| LOW | ivy/func_wrapper.py | 278 | CODE | |
| LOW | ivy/func_wrapper.py | 336 | CODE | |
| LOW | ivy/func_wrapper.py | 782 | CODE | |
| LOW | ivy/func_wrapper.py | 1103 | CODE | |
| LOW | ivy/func_wrapper.py | 1263 | CODE | |
| LOW | ivy/func_wrapper.py | 1395 | CODE | |
| LOW | ivy/func_wrapper.py | 1264 | CODE | |
| LOW | ivy/tracer/reloader.py | 306 | CODE | |
| LOW | ivy/tracer/reloader.py | 373 | CODE | |
| LOW | ivy/tracer/reloader.py | 627 | CODE | |
| LOW | ivy/tracer/reloader.py | 689 | CODE | |
| LOW | ivy/tracer/truncations.py | 110 | CODE | |
| LOW | ivy/tracer/truncations.py | 162 | CODE | |
| LOW | ivy/tracer/truncations.py | 225 | CODE | |
| LOW | ivy/tracer/truncations.py | 255 | CODE | |
| LOW | ivy/tracer/truncations.py | 315 | CODE | |
| LOW | ivy/tracer/graph.py | 77 | CODE | |
| LOW | ivy/tracer/graph.py | 103 | CODE | |
| LOW | ivy/tracer/graph.py | 631 | CODE | |
| LOW | ivy/tracer/graph.py | 671 | CODE | |
| LOW | ivy/tracer/graph.py | 690 | CODE | |
| LOW | ivy/tracer/graph.py | 705 | CODE | |
| LOW | ivy/tracer/graph.py | 729 | CODE | |
| LOW | ivy/tracer/graph.py | 1285 | CODE | |
| LOW | ivy/tracer/graph.py | 1588 | CODE | |
| LOW | ivy/tracer/conversion.py | 47 | CODE | |
| LOW | ivy/tracer/conversion.py | 221 | CODE | |
| LOW | ivy/tracer/exchange.py | 17 | CODE | |
| LOW | ivy/tracer/exchange.py | 37 | CODE | |
| LOW | ivy/tracer/exchange.py | 114 | CODE | |
| LOW | ivy/tracer/wrapping.py | 218 | CODE | |
| LOW | ivy/tracer/wrapping.py | 1024 | CODE | |
| LOW | ivy/tracer/wrapping.py | 285 | CODE | |
| LOW | ivy/tracer/graph_optimizer.py | 71 | CODE | |
| LOW | ivy/tracer/helpers.py | 43 | CODE | |
| LOW | ivy/tracer/helpers.py | 139 | CODE | |
| LOW | ivy/tracer/helpers.py | 474 | CODE | |
| LOW | ivy/tracer/helpers.py | 717 | CODE | |
| LOW | ivy/tracer/helpers.py | 780 | CODE | |
| LOW | ivy/tracer/source_gen.py | 84 | CODE | |
| LOW | ivy/tracer/source_gen.py | 236 | CODE | |
| LOW | ivy/tracer/source_gen.py | 450 | CODE | |
| LOW | ivy/tracer/tracer.py | 90 | CODE | |
| LOW | ivy/tracer/tracer.py | 114 | CODE | |
| LOW | ivy/tracer/tracer.py | 158 | CODE | |
| LOW | ivy/tracer/tracer.py | 401 | CODE | |
| LOW | ivy/tracer/tracer.py | 787 | CODE | |
| LOW | …ol_flow_experimental/autograph_ivy/converters/lists.py | 113 | CODE | |
| LOW | …rimental/autograph_ivy/converters/return_statements.py | 343 | CODE | |
| LOW | …_flow_experimental/autograph_ivy/pyct/inspect_utils.py | 61 | CODE | |
| LOW | …_flow_experimental/autograph_ivy/pyct/inspect_utils.py | 96 | CODE | |
| LOW | …_flow_experimental/autograph_ivy/pyct/inspect_utils.py | 158 | CODE | |
| 378 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ivy/func_wrapper.py | 0 | convert all `tensorflow.tensor` instances in both the positional and keyword arguments into `ivy.array` instances, and t | STRING |
| HIGH | ivy/functional/frontends/numpy/func_wrapper.py | 0 | convert all `tensorflow.tensor` instances in both the positional and keyword arguments into `ivy.array` instances, and t | STRING |
| HIGH | ivy/functional/frontends/tensorflow/func_wrapper.py | 0 | convert all `tensorflow.tensor` instances in both the positional and keyword arguments into `ivy.array` instances, and t | STRING |
| HIGH | ivy/func_wrapper.py | 0 | convert `ndarray.ndarray` into `ivy.array` instances. convert all `ndarray.ndarray` instances in both the positional and | STRING |
| HIGH | ivy/functional/frontends/paddle/func_wrapper.py | 0 | convert `ndarray.ndarray` into `ivy.array` instances. convert all `ndarray.ndarray` instances in both the positional and | STRING |
| HIGH | ivy/functional/frontends/torch/func_wrapper.py | 0 | convert `ndarray.ndarray` into `ivy.array` instances. convert all `ndarray.ndarray` instances in both the positional and | STRING |
| HIGH | ivy/functional/frontends/onnx/func_wrapper.py | 0 | convert `ndarray.ndarray` into `ivy.array` instances. convert all `ndarray.ndarray` instances in both the positional and | STRING |
| HIGH | ivy/functional/frontends/mxnet/func_wrapper.py | 0 | convert `ndarray.ndarray` into `ivy.array` instances. convert all `ndarray.ndarray` instances in both the positional and | STRING |
| HIGH | …nsformers/method_transformer/ivy_method_transformer.py | 0 | a class to convert utility class method calls to function calls in a gast ast. | STRING |
| HIGH | …ethod_transformer/frontend_torch_method_transformer.py | 0 | a class to convert utility class method calls to function calls in a gast ast. | STRING |
| HIGH | …ns/transformers/method_transformer/base_transformer.py | 0 | a class to convert utility class method calls to function calls in a gast ast. | STRING |
| HIGH | …/method_transformer/native_torch_method_transformer.py | 0 | a class to convert utility class method calls to function calls in a gast ast. | STRING |
| HIGH | …g_transformer/ivy_to_jax_postprocessing_transformer.py | 0 | step 1: modify keep_input_dtype kwarg default value to true in inplace update signature. | STRING |
| HIGH | …transformer/ivy_to_numpy_postprocessing_transformer.py | 0 | step 1: modify keep_input_dtype kwarg default value to true in inplace update signature. | STRING |
| HIGH | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 0 | step 1: modify keep_input_dtype kwarg default value to true in inplace update signature. | STRING |
| HIGH | …g_transformer/ivy_to_jax_postprocessing_transformer.py | 0 | step 2: modify assignment nodes to use val_native on the rhs in inplace_update body. | STRING |
| HIGH | …transformer/ivy_to_numpy_postprocessing_transformer.py | 0 | step 2: modify assignment nodes to use val_native on the rhs in inplace_update body. | STRING |
| HIGH | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 0 | step 2: modify assignment nodes to use val_native on the rhs in inplace_update body. | STRING |
| HIGH | ivy/data_classes/array/experimental/linear_algebra.py | 0 | compute the dot product between two arrays `a` and `b` using the current backend's implementation. the dot product is de | STRING |
| HIGH | …/data_classes/container/experimental/linear_algebra.py | 0 | compute the dot product between two arrays `a` and `b` using the current backend's implementation. the dot product is de | STRING |
| HIGH | ivy/functional/ivy/experimental/linear_algebra.py | 0 | compute the dot product between two arrays `a` and `b` using the current backend's implementation. the dot product is de | STRING |
| HIGH | ivy/data_classes/array/experimental/manipulation.py | 0 | ivy.container instance method variant of ivy.trim_zeros. this method simply wraps the function, and so the docstring for | STRING |
| HIGH | ivy/data_classes/container/experimental/manipulation.py | 0 | ivy.container instance method variant of ivy.trim_zeros. this method simply wraps the function, and so the docstring for | STRING |
| HIGH | ivy/functional/ivy/experimental/manipulation.py | 0 | ivy.container instance method variant of ivy.trim_zeros. this method simply wraps the function, and so the docstring for | STRING |
| HIGH | ivy/data_classes/array/experimental/random.py | 0 | draws samples from bernoulli distribution parameterized by probs or logits (but not both) parameters ---------- logits a | STRING |
| HIGH | ivy/data_classes/container/experimental/random.py | 0 | draws samples from bernoulli distribution parameterized by probs or logits (but not both) parameters ---------- logits a | STRING |
| HIGH | ivy/functional/ivy/experimental/random.py | 0 | draws samples from bernoulli distribution parameterized by probs or logits (but not both) parameters ---------- logits a | STRING |
| HIGH | ivy/data_classes/array/experimental/layers.py | 0 | compute a 1-d max unpooling given the 1-d pooled input x and its indices. parameters ---------- input pooled input image | STRING |
| HIGH | ivy/data_classes/container/experimental/layers.py | 0 | compute a 1-d max unpooling given the 1-d pooled input x and its indices. parameters ---------- input pooled input image | STRING |
| HIGH | ivy/functional/ivy/experimental/layers.py | 0 | compute a 1-d max unpooling given the 1-d pooled input x and its indices. parameters ---------- input pooled input image | STRING |
| HIGH | ivy/functional/ivy/data_type.py | 0 | promote the dtype of the given ivy array inputs to a common dtype based on numpy type promotion rules. while passing flo | STRING |
| HIGH | ivy/functional/frontends/onnx/__init__.py | 0 | promote the dtype of the given ivy array inputs to a common dtype based on numpy type promotion rules. while passing flo | STRING |
| HIGH | ivy/functional/frontends/mxnet/numpy/__init__.py | 0 | promote the dtype of the given ivy array inputs to a common dtype based on numpy type promotion rules. while passing flo | STRING |
| HIGH | ivy/functional/frontends/paddle/__init__.py | 0 | promote the dtype of the given ivy array inputs to a common dtype based on numpy type promotion rules. while passing flo | STRING |
| HIGH | ivy/functional/frontends/torch/__init__.py | 0 | promote the dtype of the given ivy array inputs to a common dtype based on numpy type promotion rules. while passing flo | STRING |
| HIGH | ivy/functional/frontends/jax/numpy/__init__.py | 0 | promote the dtype of the given ivy array inputs to a common dtype based on numpy type promotion rules. while passing flo | STRING |
| HIGH | ivy/functional/frontends/numpy/__init__.py | 0 | promote the dtype of the given ivy array inputs to a common dtype based on numpy type promotion rules. while passing flo | STRING |
| HIGH | ivy/functional/frontends/onnx/__init__.py | 0 | promote the datatypes type1 and type2, returning the data type they promote to. parameters ---------- type1 the first of | STRING |
| HIGH | ivy/functional/frontends/mxnet/numpy/__init__.py | 0 | promote the datatypes type1 and type2, returning the data type they promote to. parameters ---------- type1 the first of | STRING |
| HIGH | ivy/functional/frontends/paddle/__init__.py | 0 | promote the datatypes type1 and type2, returning the data type they promote to. parameters ---------- type1 the first of | STRING |
| HIGH | ivy/functional/frontends/torch/__init__.py | 0 | promote the datatypes type1 and type2, returning the data type they promote to. parameters ---------- type1 the first of | STRING |
| HIGH | ivy/functional/frontends/jax/numpy/__init__.py | 0 | promote the datatypes type1 and type2, returning the data type they promote to. parameters ---------- type1 the first of | STRING |
| HIGH | ivy/functional/frontends/onnx/func_wrapper.py | 0 | convert `ivy.array` into `tensor` instances. call the function, and then convert all `ivy.array` instances returned by t | STRING |
| HIGH | ivy/functional/frontends/paddle/func_wrapper.py | 0 | convert `ivy.array` into `tensor` instances. call the function, and then convert all `ivy.array` instances returned by t | STRING |
| HIGH | ivy/functional/frontends/torch/func_wrapper.py | 0 | convert `ivy.array` into `tensor` instances. call the function, and then convert all `ivy.array` instances returned by t | STRING |
| HIGH | ivy/functional/frontends/onnx/func_wrapper.py | 0 | wrap `fn` so it receives and returns `ivy.array` instances. wrap `fn` so that input arrays are all converted to `ivy.arr | STRING |
| HIGH | ivy/functional/frontends/mxnet/func_wrapper.py | 0 | wrap `fn` so it receives and returns `ivy.array` instances. wrap `fn` so that input arrays are all converted to `ivy.arr | STRING |
| HIGH | ivy/functional/frontends/paddle/func_wrapper.py | 0 | wrap `fn` so it receives and returns `ivy.array` instances. wrap `fn` so that input arrays are all converted to `ivy.arr | STRING |
| HIGH | ivy/functional/frontends/torch/func_wrapper.py | 0 | wrap `fn` so it receives and returns `ivy.array` instances. wrap `fn` so that input arrays are all converted to `ivy.arr | STRING |
| HIGH | ivy/functional/frontends/numpy/func_wrapper.py | 0 | wrap `fn` so it receives and returns `ivy.array` instances. wrap `fn` so that input arrays are all converted to `ivy.arr | STRING |
| HIGH | ivy/functional/frontends/torch/nn/modules/module.py | 0 | helper method for yielding various names + members of modules. | STRING |
| HIGH | ivy/functional/backends/tensorflow/module.py | 0 | helper method for yielding various names + members of modules. | STRING |
| HIGH | ivy/functional/backends/jax/module.py | 0 | helper method for yielding various names + members of modules. | STRING |
| HIGH | ivy/functional/frontends/torch/nn/modules/module.py | 0 | copy parameters and buffers from :attr:`state_dict` into this module and its descendants. if :attr:`strict` is ``true``, | STRING |
| HIGH | ivy/functional/backends/tensorflow/module.py | 0 | copy parameters and buffers from :attr:`state_dict` into this module and its descendants. if :attr:`strict` is ``true``, | STRING |
| HIGH | ivy/functional/backends/jax/module.py | 0 | copy parameters and buffers from :attr:`state_dict` into this module and its descendants. if :attr:`strict` is ``true``, | STRING |
| HIGH | ivy/functional/backends/mxnet/device.py | 0 | tensorflow general functions. collection of tensorflow general functions, wrapped to fit ivy syntax and signature. | STRING |
| HIGH | ivy/functional/backends/mxnet/activations.py | 0 | tensorflow general functions. collection of tensorflow general functions, wrapped to fit ivy syntax and signature. | STRING |
| HIGH | ivy/functional/backends/mxnet/random.py | 0 | tensorflow general functions. collection of tensorflow general functions, wrapped to fit ivy syntax and signature. | STRING |
| HIGH | ivy/functional/backends/paddle/activations.py | 0 | tensorflow general functions. collection of tensorflow general functions, wrapped to fit ivy syntax and signature. | STRING |
| 18 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | ivy/__init__.py | 18 | _not_imported_backends = list(ivy.utils.backend.handler._backend_dict.keys()) | CODE |
| CRITICAL | ivy/__init__.py | 47 | fw_str, ivy.utils.backend.handler._backend_dict.keys() | CODE |
| CRITICAL | …nal/frontends/torch/nn/functional/pooling_functions.py | 294 | padding[i] = ivy.functional.ivy.experimental.layers._padding_ceil_mode( | CODE |
| CRITICAL | …nicalize_transformers/test_canonicalize_transformer.py | 87 | # "tests.source2source.transformations.mock_dir.custom_math.advanced_math.custom_sin(x)" | COMMENT |
| CRITICAL | …nicalize_transformers/test_canonicalize_transformer.py | 91 | # "tests.source2source.transformations.mock_dir.custom_math.advanced_math.MathOperations.custom_cos(x)" | COMMENT |
| CRITICAL⚡ | …nicalize_transformers/test_canonicalize_transformer.py | 110 | # "tests.source2source.transformations.mock_dir.data_utils.preprocessing.normalize(data)" | COMMENT |
| CRITICAL⚡ | …nicalize_transformers/test_canonicalize_transformer.py | 114 | # "tests.source2source.transformations.mock_dir.data_utils.preprocessing.Preprocessor.scale(normalized)" | COMMENT |
| CRITICAL⚡ | …nicalize_transformers/test_canonicalize_transformer.py | 118 | # "tests.source2source.transformations.mock_dir.data_utils.analysis.analyze_data(scaled)" | COMMENT |
| CRITICAL | …nicalize_transformers/test_canonicalize_transformer.py | 137 | # "tests.source2source.transformations.mock_dir.ml_models.neural_net.NeuralNetwork([10, 5, 1])" | COMMENT |
| CRITICAL⚡ | …nicalize_transformers/test_canonicalize_transformer.py | 156 | # "tests.source2source.transformations.mock_dir.custom_math.advanced_math.custom_sin(normalized)" | COMMENT |
| CRITICAL⚡ | …nicalize_transformers/test_canonicalize_transformer.py | 160 | # "tests.source2source.transformations.mock_dir.data_utils.preprocessing.normalize(data)" | COMMENT |
| CRITICAL⚡ | …nicalize_transformers/test_canonicalize_transformer.py | 164 | # "tests.source2source.transformations.mock_dir.ml_models.neural_net.NeuralNetwork([5, 3, 1])" | COMMENT |
| CRITICAL | …nicalize_transformers/test_canonicalize_transformer.py | 185 | # "tests.source2source.transformations.mock_dir.data_utils.preprocessing.Preprocessor()" | COMMENT |
| CRITICAL | …nicalize_transformers/test_canonicalize_transformer.py | 189 | # "tests.source2source.transformations.mock_dir.ml_models.neural_net.NeuralNetwork([5, 3, 1])" | COMMENT |
| CRITICAL | …ests/test_ivy/test_functional/test_core/test_device.py | 105 | handle = backend.ivy.functional.ivy.device._get_nvml_gpu_handle(device) | CODE |
| CRITICAL | …s/test_ivy/test_functional/test_core/test_gradients.py | 568 | var = ivy_backend.ivy.functional.ivy.gradients._variable( | CODE |
| CRITICAL | …s/test_ivy/test_functional/test_core/test_gradients.py | 578 | var = gt_backend.ivy.functional.ivy.gradients._variable( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ivy/func_wrapper.py | 164 | except Exception: | CODE |
| LOW | ivy/tracer/reloader.py | 301 | except Exception as e: | CODE |
| LOW | ivy/tracer/reloader.py | 401 | except Exception: | CODE |
| LOW | ivy/tracer/reloader.py | 523 | except Exception: | CODE |
| LOW | ivy/tracer/reloader.py | 564 | except Exception: | CODE |
| LOW | ivy/tracer/reloader.py | 569 | except Exception: | CODE |
| LOW | ivy/tracer/tracked_var_proxy.py | 56 | except Exception as _: | CODE |
| LOW | ivy/tracer/conversion.py | 295 | except Exception as e: | CODE |
| LOW | ivy/tracer/conversion.py | 307 | except Exception as e: | CODE |
| LOW | ivy/tracer/visualisation.py | 62 | except Exception: | CODE |
| LOW | ivy/tracer/wrapping.py | 622 | except Exception as e: | CODE |
| LOW | ivy/tracer/wrapping.py | 1020 | except Exception: | CODE |
| LOW | ivy/tracer/wrapping.py | 1046 | except Exception as e: | CODE |
| LOW | ivy/tracer/wrapping.py | 1078 | except Exception: | CODE |
| LOW | ivy/tracer/helpers.py | 340 | except Exception as _: | CODE |
| LOW | ivy/tracer/helpers.py | 368 | except Exception as e: | CODE |
| LOW | ivy/tracer/tracer.py | 239 | except Exception: | CODE |
| LOW | ivy/tracer/tracer.py | 347 | except Exception as e: | CODE |
| LOW | …ow_experimental/autograph_ivy/operators/py_builtins.py | 135 | except Exception as e: | CODE |
| LOW | …ow_experimental/autograph_ivy/operators/py_builtins.py | 150 | except Exception as e: | CODE |
| LOW | …ow_experimental/autograph_ivy/operators/py_builtins.py | 161 | except Exception as e: | CODE |
| LOW | …ow_experimental/autograph_ivy/operators/py_builtins.py | 166 | except Exception as e: | CODE |
| MEDIUM | …ow_experimental/autograph_ivy/operators/py_builtins.py | 156 | def method_wrapper(str, val): | CODE |
| LOW | ivy/tracer/special_ops/builtin_helpers.py | 309 | except Exception as _: | CODE |
| LOW | ivy/tracer/special_ops/builtin_helpers.py | 362 | except Exception as _: | CODE |
| LOW | ivy/tracer/special_ops/builtin_helpers.py | 378 | except Exception as _: | CODE |
| LOW | ivy/tracer/special_ops/builtin_helpers.py | 390 | except Exception as _: | CODE |
| LOW | ivy/tracer/special_ops/builtin_helpers.py | 396 | except Exception as _: | CODE |
| LOW | ivy/tracer/special_ops/builtin_helpers.py | 911 | except Exception as _: | CODE |
| LOW | ivy/transpiler/main.py | 246 | except Exception as e: | CODE |
| LOW | ivy/transpiler/main.py | 359 | except Exception: | CODE |
| LOW | ivy/transpiler/main.py | 439 | except Exception as e: | CODE |
| LOW | ivy/transpiler/main.py | 560 | except Exception: | CODE |
| LOW | ivy/transpiler/main.py | 717 | except Exception as e: | CODE |
| LOW | …ers/recursive_transformer/ivy_recursive_transformer.py | 44 | except Exception: | CODE |
| LOW | ivy/transpiler/utils/profiling_utils.py | 172 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/profiling_utils.py | 187 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/pickling_utils.py | 83 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/source_utils.py | 170 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/source_utils.py | 192 | except Exception as e: | CODE |
| MEDIUM | ivy/transpiler/utils/cache_utils.py | 497 | def save_file_async(self, cache_file, cache_data): | CODE |
| MEDIUM | ivy/transpiler/utils/cache_utils.py | 508 | def save_file(self, cache_file, cache_data): | CODE |
| MEDIUM | ivy/transpiler/utils/cache_utils.py | 519 | def load_file_async(self, cache_file): | CODE |
| MEDIUM | ivy/transpiler/utils/cache_utils.py | 537 | def load_file(self, cache_file): | CODE |
| MEDIUM | ivy/transpiler/utils/cache_utils.py | 788 | def _run_cache_loading(self): | CODE |
| MEDIUM | ivy/transpiler/utils/cache_utils.py | 795 | def _run_cache_saving(self): | CODE |
| LOW | ivy/transpiler/utils/cache_utils.py | 504 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/cache_utils.py | 515 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/cache_utils.py | 533 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/cache_utils.py | 551 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/cache_utils.py | 575 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/cache_utils.py | 596 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/cache_utils.py | 621 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/cache_utils.py | 639 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/cache_utils.py | 667 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/cache_utils.py | 696 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/cache_utils.py | 730 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/cache_utils.py | 757 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/cache_utils.py | 791 | except Exception as e: | CODE |
| LOW | ivy/transpiler/utils/cache_utils.py | 798 | except Exception as e: | CODE |
| 95 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | setup.py | 15 | # ============================================================================== | COMMENT |
| MEDIUM | …er/control_flow_experimental/autograph_ivy/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …tal/autograph_ivy/core/unsupported_features_checker.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …w_experimental/autograph_ivy/core/function_wrappers.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …trol_flow_experimental/autograph_ivy/core/converter.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …er/control_flow_experimental/autograph_ivy/core/api.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …flow_experimental/autograph_ivy/operators/variables.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …ow_experimental/autograph_ivy/operators/py_builtins.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …mental/autograph_ivy/converters/list_comprehensions.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …low_experimental/autograph_ivy/converters/functions.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …ol_flow_experimental/autograph_ivy/converters/lists.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …rimental/autograph_ivy/converters/return_statements.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …_experimental/autograph_ivy/converters/control_flow.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …ow_experimental/autograph_ivy/converters/call_trees.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …flow_experimental/autograph_ivy/converters/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …erimental/autograph_ivy/converters/break_statements.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …mental/autograph_ivy/converters/continue_statements.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …l_flow_experimental/autograph_ivy/converters/slices.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …al/autograph_ivy/converters/conditional_expressions.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …er/control_flow_experimental/autograph_ivy/pyct/cfg.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …ol_flow_experimental/autograph_ivy/pyct/error_utils.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …control_flow_experimental/autograph_ivy/pyct/naming.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …/control_flow_experimental/autograph_ivy/pyct/cache.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …ntrol_flow_experimental/autograph_ivy/pyct/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …_flow_experimental/autograph_ivy/pyct/inspect_utils.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …ntrol_flow_experimental/autograph_ivy/pyct/ast_util.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …control_flow_experimental/autograph_ivy/pyct/parser.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …rol_flow_experimental/autograph_ivy/pyct/transpiler.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …trol_flow_experimental/autograph_ivy/pyct/templates.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …flow_experimental/autograph_ivy/pyct/pretty_printer.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …control_flow_experimental/autograph_ivy/pyct/loader.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …ol_flow_experimental/autograph_ivy/pyct/transformer.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …control_flow_experimental/autograph_ivy/pyct/errors.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …trol_flow_experimental/autograph_ivy/pyct/gast_util.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …r/control_flow_experimental/autograph_ivy/pyct/anno.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …ol_flow_experimental/autograph_ivy/pyct/origin_info.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …rol_flow_experimental/autograph_ivy/pyct/qual_names.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …imental/autograph_ivy/pyct/static_analysis/liveness.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …l/autograph_ivy/pyct/static_analysis/type_inference.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …imental/autograph_ivy/pyct/static_analysis/activity.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …imental/autograph_ivy/pyct/static_analysis/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …/autograph_ivy/pyct/static_analysis/reaching_fndefs.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …perimental/autograph_ivy/pyct/static_analysis/annos.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …graph_ivy/pyct/static_analysis/reaching_definitions.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | ivy/tracer/special_ops/vmap_helpers.py | 109 | # ----------------- | COMMENT |
| MEDIUM | ivy/tracer/special_ops/vmap_helpers.py | 111 | # ----------------- | COMMENT |
| MEDIUM | ivy/tracer/special_ops/vmap_helpers.py | 171 | # ------------- | COMMENT |
| MEDIUM | ivy/tracer/special_ops/vmap_helpers.py | 173 | # ------------- | COMMENT |
| MEDIUM | ivy/transpiler/examples/GLPDepth/mit.py | 1 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | ivy/transpiler/examples/GLPDepth/mit.py | 5 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | ivy/transpiler/examples/Swin2SR/s2s_swin2sr.py | 1 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | ivy/transpiler/examples/Swin2SR/s2s_swin2sr.py | 4 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | ivy/data_classes/factorized_tensor/cp_tensor.py | 716 | # ---------- | COMMENT |
| MEDIUM | ivy/functional/backends/paddle/experimental/creation.py | 19 | # ---------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ivy/tracer/tracked_var_proxy.py | 345 | # Create a new object | COMMENT |
| MEDIUM | ivy/tracer/tracked_var_proxy.py | 385 | # Create a new object | COMMENT |
| MEDIUM | ivy/tracer/tracked_var_proxy.py | 436 | # This class is overridden using the metaclass based on | COMMENT |
| MEDIUM | ivy/tracer/graph.py | 735 | """This function is first called on the final output, and traverses backwards through | STRING |
| MEDIUM | ivy/tracer/helpers.py | 365 | # Create a new class | COMMENT |
| MEDIUM | …control_flow_experimental/autograph_ivy/pyct/parser.py | 264 | # This method is more robust that just calling inspect.getsource(mod), as it | COMMENT |
| MEDIUM | …aph_ivy/test_suite/neural_nets_dynamic_control_flow.py | 15 | # Create an instance of the model class | COMMENT |
| MEDIUM | ivy/tracer/special_ops/vmap_helpers.py | 193 | # Create a dictionary with the name as key and the corresponding index as value | COMMENT |
| MEDIUM | ivy/transpiler/main.py | 679 | # Create an event to stop the animation | COMMENT |
| MEDIUM | …nsformers/method_transformer/ivy_method_transformer.py | 144 | # Create a new Call node for the outer call, but with the inner call as its function | COMMENT |
| MEDIUM | …ethod_transformer/frontend_torch_method_transformer.py | 125 | # Create a new Call node for the outer call, but with the inner call as its function | COMMENT |
| MEDIUM | …nsformers/canonicalize_transformer/base_transformer.py | 74 | # This method is called for each variable annotation in the tree | COMMENT |
| MEDIUM | …rocessing_transformer/ivy_preprocessing_transformer.py | 73 | # Create a new assignment node with the modified right-hand side | COMMENT |
| MEDIUM | …ocessing_transformer/ivy_postprocessing_transformer.py | 480 | # Create a for loop with append statements | COMMENT |
| MEDIUM | …ocessing_transformer/ivy_postprocessing_transformer.py | 489 | # Create a new list to store the elements | COMMENT |
| MEDIUM | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 216 | # Create a gast.With node with a tensorflow.name_scope context manager. | COMMENT |
| MEDIUM | …ns/transformers/inject_transformer/base_transformer.py | 108 | # Create a new FunctionDef node to be injected later | COMMENT |
| MEDIUM | …ns/transformers/inject_transformer/base_transformer.py | 218 | # Create a new FunctionDef node to be injected later | COMMENT |
| MEDIUM | …transformers/recursive_transformer/base_transformer.py | 72 | # Create a new instance and store it in the class variable | COMMENT |
| MEDIUM | …s/transformers/closure_transformer/base_transformer.py | 37 | # Create an assignment node for each closure variable | COMMENT |
| MEDIUM | ivy/transpiler/utils/inspect_utils.py | 136 | # Create a dictionary mapping each class to its base classes | COMMENT |
| MEDIUM | ivy/transpiler/ast/utils.py | 103 | # Create a new AST with reordered body | COMMENT |
| MEDIUM⚡ | ivy/transpiler/ast/source_gen.py | 886 | # Create the directory structure | COMMENT |
| MEDIUM⚡ | ivy/transpiler/ast/source_gen.py | 896 | pass # Create an empty file | CODE |
| MEDIUM | ivy/transpiler/caching/populate_cache.py | 31 | # Define a pytest function to handle each item in the batch | COMMENT |
| MEDIUM | ivy/transpiler/translations/translator.py | 324 | # Create an AtomicCacheUnit | COMMENT |
| MEDIUM | ivy/transpiler/translations/helpers.py | 69 | # Create the output directory | COMMENT |
| MEDIUM | ivy/transpiler/translations/helpers.py | 95 | # Create the output directory | COMMENT |
| MEDIUM | ivy/transpiler/translations/helpers.py | 98 | # Create an empty __init__.py file in the new directory | COMMENT |
| MEDIUM | ivy/functional/ivy/creation.py | 97 | # This function is to be used with the nested_map function | COMMENT |
| MEDIUM | ivy/functional/ivy/experimental/linear_algebra.py | 835 | # The following code has been adapted from TensorLy | COMMENT |
| MEDIUM | ivy/functional/ivy/experimental/linear_algebra.py | 927 | # The following code has been adapted from TensorLy | COMMENT |
| MEDIUM | ivy/functional/ivy/experimental/linear_algebra.py | 1214 | # The following function has been adapted from TensorLy | STRING |
| MEDIUM | ivy/functional/frontends/torch/linalg.py | 176 | # Create a named tuple for the final result | COMMENT |
| MEDIUM | …y/functional/frontends/sklearn/preprocessing/_label.py | 13 | # Initialize the classes and class_to_index lists | COMMENT |
| MEDIUM | …y/functional/frontends/sklearn/preprocessing/_label.py | 36 | # Initialize the class_to_index list with the same length as the classes list | COMMENT |
| MEDIUM | ivy/functional/backends/paddle/statistical.py | 84 | # The following code is to simulate other frameworks | COMMENT |
| MEDIUM | ivy/functional/backends/paddle/statistical.py | 153 | # The following code is to simulate other frameworks | COMMENT |
| MEDIUM | ivy/functional/backends/paddle/statistical.py | 185 | # The following code is to simulate other frameworks | COMMENT |
| MEDIUM | ivy/functional/backends/paddle/statistical.py | 260 | # The following code is to simulate other frameworks | COMMENT |
| MEDIUM | ivy/functional/backends/paddle/gradients.py | 44 | # Creating a zero gradient nest for the case where no gradients are computed | COMMENT |
| MEDIUM | ivy/functional/backends/paddle/utility.py | 26 | # The following code is to simulate other frameworks | COMMENT |
| MEDIUM | ivy/functional/backends/paddle/utility.py | 55 | # The following code is to simulate other frameworks | COMMENT |
| MEDIUM | …functional/backends/paddle/experimental/statistical.py | 40 | # The following code is to simulate other frameworks | COMMENT |
| MEDIUM | …functional/backends/paddle/experimental/statistical.py | 72 | # The following code is to simulate other frameworks | COMMENT |
| MEDIUM | ivy/functional/backends/torch/gradients.py | 41 | # Creating a zero gradient nest for the case where no gradients are computed | COMMENT |
| MEDIUM | ivy/functional/backends/tensorflow/gradients.py | 38 | # Creating a zero gradient nest for the case where no gradients are computed | COMMENT |
| MEDIUM | ivy/functional/backends/tensorflow/gradients.py | 91 | # Creating a tape to record operations | COMMENT |
| MEDIUM | …tions/globals_transformers/test_globals_transformer.py | 437 | # Create an input array | COMMENT |
| MEDIUM | …ests/test_ivy/test_functional/test_core/test_device.py | 80 | # Create an array of floats, by default with 10 million elements (40 MB) | COMMENT |
| MEDIUM | …vy/test_frontends/test_torch/test_miscellaneous_ops.py | 116 | # Define the broadcast shape dimension | COMMENT |
| MEDIUM | …vy/test_frontends/test_jax/test__src/test_tree_util.py | 68 | # Define a function to square each leaf node | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ivy/tracer/tracked_var_proxy.py | 66 | # Check if we have overridden the TrackedTensorShape class. | COMMENT |
| LOW | ivy/tracer/tracked_var_proxy.py | 81 | # Check if we have overridden the TrackedTensorShape class. | COMMENT |
| LOW | ivy/tracer/conversion.py | 408 | # Check if the other possible backends match with the native data type | COMMENT |
| LOW | ivy/tracer/helpers.py | 231 | # Check if the path belongs to a built-in module | COMMENT |
| LOW | …er/control_flow_experimental/autograph_ivy/core/api.py | 169 | # Check if the function is a built-in function | COMMENT |
| LOW | …er/control_flow_experimental/autograph_ivy/core/api.py | 173 | # Check if the function is one of the specified functions | COMMENT |
| LOW | ivy/tracer/special_ops/builtin_helpers.py | 734 | # Check if the fn factory can be retrieved from an existing cache | COMMENT |
| LOW | ivy/tracer/special_ops/builtin_helpers.py | 893 | # Check if it is transformed already and return early | COMMENT |
| LOW | ivy/transpiler/main.py | 241 | # Check if our target line falls within this range | COMMENT |
| LOW | ivy/transpiler/main.py | 400 | # Check if we're in IPython/Colab environment | COMMENT |
| LOW | …nsformers/method_transformer/ivy_method_transformer.py | 91 | # Check if any part of the attribute name should not be transformed | COMMENT |
| LOW | …nsformers/method_transformer/ivy_method_transformer.py | 163 | # Check if any part of the function name should not be transformed | COMMENT |
| LOW | …nsformers/method_transformer/ivy_method_transformer.py | 220 | # Check if any part of the node name should not be transformed | COMMENT |
| LOW | …ethod_transformer/frontend_torch_method_transformer.py | 71 | # Check if any part of the attribute name should not be transformed | COMMENT |
| LOW | …ethod_transformer/frontend_torch_method_transformer.py | 144 | # Check if any part of the function name should not be transformed | COMMENT |
| LOW | …ethod_transformer/frontend_torch_method_transformer.py | 241 | # Check if any part of the node name should not be transformed | COMMENT |
| LOW | …/method_transformer/native_torch_method_transformer.py | 61 | # Check if any part of the function name should not be transformed | COMMENT |
| LOW | …sformers/native_layers_transformer/base_transformer.py | 204 | # Check if the default value is a known layer (e.g., tensorflow_Conv2d) | COMMENT |
| LOW | …rocessing_transformer/ivy_preprocessing_transformer.py | 143 | # Check if the original if statement has an "elif" part | COMMENT |
| LOW | …g_transformer/ivy_to_jax_postprocessing_transformer.py | 135 | if elts_dump == pattern_dump: # Check if we found the pattern | CODE |
| LOW⚡ | …g_transformer/ivy_to_jax_postprocessing_transformer.py | 160 | # Check if the function name contains "inplace_update" | COMMENT |
| LOW⚡ | …ocessing_transformer/ivy_postprocessing_transformer.py | 278 | # Check if the dimensions are in the PyTorch format and determine the pattern | COMMENT |
| LOW⚡ | …ocessing_transformer/ivy_postprocessing_transformer.py | 286 | # Check if the dimension is out_channels // groups (BinOp) | COMMENT |
| LOW⚡ | …ocessing_transformer/ivy_postprocessing_transformer.py | 294 | # Check if the dimension is in_channels // groups (BinOp) | COMMENT |
| LOW | …ocessing_transformer/ivy_postprocessing_transformer.py | 258 | # Check if the call is to isinstance and if so, | COMMENT |
| LOW | …transformer/ivy_to_numpy_postprocessing_transformer.py | 137 | if elts_dump == pattern_dump: # Check if we found the pattern | CODE |
| LOW⚡ | …transformer/ivy_to_numpy_postprocessing_transformer.py | 161 | # Check if the function name contains "inplace_update" | COMMENT |
| LOW⚡ | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 296 | # Check if the function name contains "inplace_update" | COMMENT |
| LOW | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 272 | if elts_dump == pattern_dump: # Check if we found the pattern | CODE |
| LOW | …ansformer/frontend_torch_postprocessing_transformer.py | 107 | # Check if the call is to isinstance and if so, | COMMENT |
| LOW | …ns/transformers/inject_transformer/base_transformer.py | 54 | # Check if we have a super call here | COMMENT |
| LOW | …ns/transformers/inject_transformer/base_transformer.py | 82 | # Check if module_tree can be fetched from cache | COMMENT |
| LOW | …transformers/docstring_transformer/base_transformer.py | 42 | # Check if the body contains only the docstring and nothing else | COMMENT |
| LOW | …s/transformers/globals_transformer/base_transformer.py | 146 | # Check if one is a subset of the other | COMMENT |
| LOW | …s/transformers/globals_transformer/base_transformer.py | 559 | # Check if the global is already in the stack (potential cyclic dependency) | COMMENT |
| LOW | …sive_transformer/native_torch_recursive_transformer.py | 65 | # Check if the function call is one of ivy.utils.decorator_utils, and if so, translate | COMMENT |
| LOW | …sive_transformer/native_torch_recursive_transformer.py | 83 | # Check if the function call is part of the functional API of torch or the standard libraries | COMMENT |
| LOW | …sive_transformer/native_torch_recursive_transformer.py | 140 | # Check if the object's source code is not available | COMMENT |
| LOW | …transformers/recursive_transformer/base_transformer.py | 280 | # Check if the object should be translated | COMMENT |
| LOW | …transformers/recursive_transformer/base_transformer.py | 435 | # Check if the base class is an instance of torch.nn.Module | COMMENT |
| LOW | …ve_transformer/frontend_torch_recursive_transformer.py | 115 | # Check if the function call is from frontend torch.Tensor or torch.nn.Parameter | COMMENT |
| LOW | …ve_transformer/frontend_torch_recursive_transformer.py | 120 | # Check if the function call is one of ivy.utils.decorator_utils, and if so, translate | COMMENT |
| LOW | …ve_transformer/frontend_torch_recursive_transformer.py | 138 | # Check if the function call is part of the functional API of torch or the standard libraries | COMMENT |
| LOW | …ve_transformer/frontend_torch_recursive_transformer.py | 188 | # Check if the object's source code is not available | COMMENT |
| LOW | …ers/recursive_transformer/ivy_recursive_transformer.py | 42 | # Check if the parsed code contains a gast.Call node | COMMENT |
| LOW | …ers/recursive_transformer/ivy_recursive_transformer.py | 144 | # Check if the function call is one of ivy.utils.decorator_utils, and if so, translate | COMMENT |
| LOW | …ers/recursive_transformer/ivy_recursive_transformer.py | 163 | # Check if the function call is part of the functional API of Ivy or the standard libraries | COMMENT |
| LOW | …ers/recursive_transformer/ivy_recursive_transformer.py | 194 | # Check if the object's source code is not available | COMMENT |
| LOW | ivy/transpiler/utils/inspect_utils.py | 81 | # Check if it's a lambda function and has `.partial_mixed_handler` assignment | COMMENT |
| LOW | ivy/transpiler/utils/inspect_utils.py | 165 | # Check if the object belongs to the Torch framework | COMMENT |
| LOW | ivy/transpiler/utils/inspect_utils.py | 174 | # Check if the object belongs to the Ivy framework | COMMENT |
| LOW | ivy/transpiler/utils/inspect_utils.py | 187 | # Check if the object is an instance and not a class itself | COMMENT |
| LOW | ivy/transpiler/utils/inspect_utils.py | 202 | # Check if the object's source code is accessible | COMMENT |
| LOW | ivy/transpiler/utils/cache_utils.py | 123 | # Check if the function name is in the priority list | COMMENT |
| LOW⚡ | ivy/transpiler/utils/ast_utils.py | 199 | # Check if any element in the tuple is a Name (variable) | COMMENT |
| LOW⚡ | ivy/transpiler/utils/ast_utils.py | 201 | # Check if the value being assigned is a Name (variable) | COMMENT |
| LOW⚡ | ivy/transpiler/utils/ast_utils.py | 205 | # Check if the value being assigned is an attribute (e.g., object.attribute) | COMMENT |
| LOW⚡ | ivy/transpiler/utils/ast_utils.py | 209 | # Check if the value being assigned is a Subscript (e.g., list[index]) | COMMENT |
| LOW | ivy/transpiler/utils/import_utils.py | 11 | # Check if the file already has a .py extension, and if not, add it | COMMENT |
| LOW | ivy/transpiler/translations/translator.py | 236 | # Check if the object is in the preloaded cache | COMMENT |
| 31 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 1 | # lint as: python3 | COMMENT |
| LOW | ivy/tracer/globals.py | 21 | # (used so we will not trace any functions while we are in the middle of tracing | COMMENT |
| LOW | ivy/tracer/graph.py | 1721 | # if isinstance(highlight_subgraph, int): | COMMENT |
| LOW | ivy/tracer/tracer.py | 681 | # if not (glob.is_transpile or glob.is_unify): | COMMENT |
| LOW | …er/control_flow_experimental/autograph_ivy/__init__.py | 1 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …tal/autograph_ivy/core/unsupported_features_checker.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …w_experimental/autograph_ivy/core/function_wrappers.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …trol_flow_experimental/autograph_ivy/core/converter.py | 1 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …er/control_flow_experimental/autograph_ivy/core/api.py | 1 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …ntrol_flow_experimental/autograph_ivy/core/list_ops.py | 41 | # if isinstance(value, ivy.Array): | COMMENT |
| LOW | …flow_experimental/autograph_ivy/operators/variables.py | 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …ow_experimental/autograph_ivy/operators/py_builtins.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …ow_experimental/autograph_ivy/operators/py_builtins.py | 101 | # to the spec https://www.python.org/dev/peps/pep-3135/ . | COMMENT |
| LOW | …mental/autograph_ivy/converters/list_comprehensions.py | 1 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …low_experimental/autograph_ivy/converters/functions.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …ol_flow_experimental/autograph_ivy/converters/lists.py | 1 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …ol_flow_experimental/autograph_ivy/converters/lists.py | 61 | # | COMMENT |
| LOW | …rimental/autograph_ivy/converters/return_statements.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …_experimental/autograph_ivy/converters/control_flow.py | 1 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …ow_experimental/autograph_ivy/converters/call_trees.py | 1 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …flow_experimental/autograph_ivy/converters/__init__.py | 1 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …erimental/autograph_ivy/converters/break_statements.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …mental/autograph_ivy/converters/continue_statements.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …l_flow_experimental/autograph_ivy/converters/slices.py | 1 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …l_flow_experimental/autograph_ivy/converters/slices.py | 81 | # | COMMENT |
| LOW | …l_flow_experimental/autograph_ivy/converters/slices.py | 101 | # if replacement is not None: | COMMENT |
| LOW | …l_flow_experimental/autograph_ivy/converters/slices.py | 121 | # | COMMENT |
| LOW | …al/autograph_ivy/converters/conditional_expressions.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …er/control_flow_experimental/autograph_ivy/pyct/cfg.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …ol_flow_experimental/autograph_ivy/pyct/error_utils.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …control_flow_experimental/autograph_ivy/pyct/naming.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …/control_flow_experimental/autograph_ivy/pyct/cache.py | 1 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …ntrol_flow_experimental/autograph_ivy/pyct/__init__.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …_flow_experimental/autograph_ivy/pyct/inspect_utils.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …ntrol_flow_experimental/autograph_ivy/pyct/ast_util.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …control_flow_experimental/autograph_ivy/pyct/parser.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …rol_flow_experimental/autograph_ivy/pyct/transpiler.py | 1 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …trol_flow_experimental/autograph_ivy/pyct/templates.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …flow_experimental/autograph_ivy/pyct/pretty_printer.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …control_flow_experimental/autograph_ivy/pyct/loader.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …ol_flow_experimental/autograph_ivy/pyct/transformer.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …control_flow_experimental/autograph_ivy/pyct/errors.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …trol_flow_experimental/autograph_ivy/pyct/gast_util.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …r/control_flow_experimental/autograph_ivy/pyct/anno.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …ol_flow_experimental/autograph_ivy/pyct/origin_info.py | 1 | # Copyright 2018 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …rol_flow_experimental/autograph_ivy/pyct/qual_names.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …imental/autograph_ivy/pyct/static_analysis/liveness.py | 1 | # Copyright 2018 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …l/autograph_ivy/pyct/static_analysis/type_inference.py | 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …imental/autograph_ivy/pyct/static_analysis/activity.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …imental/autograph_ivy/pyct/static_analysis/__init__.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …/autograph_ivy/pyct/static_analysis/reaching_fndefs.py | 1 | # Copyright 2018 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …perimental/autograph_ivy/pyct/static_analysis/annos.py | 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …graph_ivy/pyct/static_analysis/reaching_definitions.py | 1 | # Copyright 2018 The TensorFlow Authors. All Rights Reserved. | COMMENT |
| LOW | …tograph_ivy/test_suite/call_trees_and_returns_tests.py | 101 | COMMENT | |
| LOW | …aph_ivy/test_suite/neural_nets_dynamic_control_flow.py | 101 | # inputs = ivy.random.random_normal(mean=0, std=1, shape=(1,3,16,16)) | COMMENT |
| LOW | …nsformers/canonicalize_transformer/base_transformer.py | 161 | # we add the module captured to the transformer.object_module. This | COMMENT |
| LOW | ivy/transpiler/caching/assets/torch_cache_assets.py | 41 | "atanh", | COMMENT |
| LOW | ivy/transpiler/caching/assets/torch_cache_assets.py | 161 | "log2", | COMMENT |
| LOW | ivy/transpiler/caching/assets/torch_cache_assets.py | 361 | # "leaky_relu_", | COMMENT |
| LOW | ivy/transpiler/caching/assets/torch_cache_assets.py | 421 | # "AdaptiveMaxPool3d", | COMMENT |
| 36 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ivy/func_wrapper.py | 990 | # else just return x | COMMENT |
| MEDIUM | ivy/tracer/graph.py | 140 | # TODO: there may be a more robust solution here, which doesn't risk having cached args in the wrong loc | COMMENT |
| LOW | ivy/tracer/wrapping.py | 98 | # to, type, as_tensor sometimes just return their inputs- they dont edit inplace | COMMENT |
| MEDIUM | …_flow_experimental/autograph_ivy/pyct/inspect_utils.py | 278 | # namespace. This is inefficient but more robust a method. | COMMENT |
| MEDIUM | …control_flow_experimental/autograph_ivy/pyct/parser.py | 264 | # This method is more robust that just calling inspect.getsource(mod), as it | COMMENT |
| LOW | ivy/transpiler/main.py | 441 | # If there's an error, just return the original result | COMMENT |
| LOW | …nsformers/canonicalize_transformer/base_transformer.py | 173 | # the canonical name, just use that canonical name as the return value | COMMENT |
| LOW⚡ | …rocessing_transformer/ivy_preprocessing_transformer.py | 176 | # we modify them so that rather than a function call, we just return return the | COMMENT |
| MEDIUM | …ocessing_transformer/ivy_postprocessing_transformer.py | 232 | # TODO: add a more robust fix for this (eg: self.layers.conv2d.weight.data --> self.layers.conv2d.weight) | COMMENT |
| LOW | …s/transformers/globals_transformer/base_transformer.py | 556 | # now simply return the assignment target (ie: the cached global) | COMMENT |
| LOW | …/translations/configurations/base_translator_config.py | 62 | # If the key doesn't exist, simply add it | COMMENT |
| LOW | ivy/data_classes/array/statistical.py | 721 | >>> C = A.einsum('i,i->', B) # or just use 'i,i' | STRING |
| LOW | ivy/data_classes/array/conversions.py | 76 | # simply return the array as is | COMMENT |
| LOW | ivy/data_classes/container/base.py | 416 | # if inputs are not dicts, then simply return the right-most value | COMMENT |
| LOW | ivy/utils/backend/handler.py | 467 | # if the backend stack is empty, nothing is done then we just return `None` | COMMENT |
| LOW | ivy/functional/ivy/statistical.py | 1261 | >>> C = ivy.einsum('i,i->', A, B) # or just use 'i,i' | STRING |
| LOW | ivy/functional/ivy/experimental/linear_algebra.py | 783 | # Khatri-rao of only one matrix: just return that matrix | COMMENT |
| LOW | ivy/functional/frontends/xgboost/sklearn.py | 273 | # skip the validation, as for now we simply call the predict method of | COMMENT |
| LOW | ivy/functional/frontends/paddle/func_wrapper.py | 33 | # else just return x | COMMENT |
| LOW | ivy/functional/frontends/torch/func_wrapper.py | 123 | # else just return x | COMMENT |
| LOW | …est_ivy/test_functional/test_core/test_manipulation.py | 327 | constant = float(value[0].flat[0]) # just use the first value as fill value | CODE |
| MEDIUM | …s/test_ivy/helpers/hypothesis_helpers/array_helpers.py | 1866 | # ValueError: `strides > 1` not supported in conjunction with `dilation_rate > 1` | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …er/control_flow_experimental/autograph_ivy/core/ops.py | 58 | self.push( | CODE |
| HIGH | …_experimental/autograph_ivy/converters/control_flow.py | 161 | return scope_vars, undefined, nouts | CODE |
| HIGH | …_experimental/autograph_ivy/converters/control_flow.py | 183 | cond_vars, undefined, _ = self._get_block_vars( | CODE |
| HIGH | …_experimental/autograph_ivy/converters/control_flow.py | 187 | undefined_assigns = self._create_undefined_assigns(undefined) | CODE |
| HIGH | …_experimental/autograph_ivy/converters/control_flow.py | 237 | loop_vars, undefined, _ = self._get_block_vars(node, body_scope.bound) | STRING |
| HIGH | …_experimental/autograph_ivy/converters/control_flow.py | 239 | undefined_assigns = self._create_undefined_assigns(undefined) | STRING |
| HIGH | …_experimental/autograph_ivy/converters/control_flow.py | 283 | loop_vars, undefined, _ = self._get_block_vars( | STRING |
| HIGH | …_experimental/autograph_ivy/converters/control_flow.py | 287 | undefined_assigns = self._create_undefined_assigns(undefined) | STRING |
| HIGH | ivy/data_classes/array/experimental/statistical.py | 452 | Treat the input as undefined, but it will | STRING |
| HIGH | ivy/data_classes/container/experimental/statistical.py | 1134 | the contents of the input array.Treat the input as undefined, | STRING |
| HIGH | ivy/functional/ivy/experimental/statistical.py | 521 | Treat the input as undefined, but it will probably be fully or partially sorted. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …_flow_experimental/autograph_ivy/pyct/inspect_utils.py | 236 | Resolves a function's owner, e.g. a method's class. Note that this returns the object that the function was re | STRING |
| HIGH | …ntrol_flow_experimental/autograph_ivy/pyct/ast_util.py | 278 | Walks two ASTs in parallel. The two trees must have identical structure. Args: node: Union[ast.AST, It | STRING |
| HIGH | …control_flow_experimental/autograph_ivy/pyct/parser.py | 362 | Returns the AST of given identifier. Args: src: A piece of code that represents a single Python expression | STRING |
| HIGH | …rol_flow_experimental/autograph_ivy/pyct/transpiler.py | 282 | Transforms a Python object. Users typically call this method. Args: obj: A Python object, | STRING |
| HIGH | …trol_flow_experimental/autograph_ivy/pyct/templates.py | 237 | Replaces placeholders in a Python template. AST Name and Tuple nodes always receive the context that inferred from | STRING |
| HIGH | …s/transformers/globals_transformer/base_transformer.py | 473 | Process and add global variables to the transformer's global list. This method handles the complexitie | STRING |
| HIGH | ivy/transpiler/ast/analysis.py | 133 | Analyze a collection of modules and gather information about their imports and internal definitions. This func | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …g_transformer/ivy_to_jax_postprocessing_transformer.py | 162 | # Step 1: Modify the default value of keep_input_dtype to True | COMMENT |
| LOW⚡ | …g_transformer/ivy_to_jax_postprocessing_transformer.py | 165 | # Step 2: Modify assignment nodes to use val_native on the right-hand side | COMMENT |
| LOW⚡ | …g_transformer/ivy_to_jax_postprocessing_transformer.py | 168 | # Step 3: Replace `if tensorflow_is_ivy_array_bknd(x)` with `x = x_native` | COMMENT |
| LOW⚡ | …transformer/ivy_to_numpy_postprocessing_transformer.py | 163 | # Step 1: Modify the default value of keep_input_dtype to True | COMMENT |
| LOW⚡ | …transformer/ivy_to_numpy_postprocessing_transformer.py | 166 | # Step 2: Modify assignment nodes to use val_native on the right-hand side | COMMENT |
| LOW⚡ | …transformer/ivy_to_numpy_postprocessing_transformer.py | 169 | # Step 3: Replace `if tensorflow_is_ivy_array_bknd(x)` with `x = x_native` | COMMENT |
| LOW⚡ | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 298 | # Step 1: Modify the default value of keep_input_dtype to True | COMMENT |
| LOW⚡ | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 301 | # Step 2: Modify assignment nodes to use val_native on the right-hand side | COMMENT |
| LOW⚡ | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 304 | # Step 3: Replace `if tensorflow_is_ivy_array_bknd(x)` with `x = x_native` | COMMENT |
| LOW | ivy/functional/ivy/linear_algebra.py | 1888 | The purpose of this function is to calculate the determinant more accurately | CODE |
| LOW | ivy/functional/ivy/elementwise.py | 2526 | The purpose of this function is to calculate ``exp(x)-1.0`` more accurately when | CODE |
| LOW | ivy/functional/ivy/elementwise.py | 4059 | The purpose of this function is to calculate ``log(1+x)`` more accurately | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …g_transformer/ivy_to_jax_postprocessing_transformer.py | 162 | # Step 1: Modify the default value of keep_input_dtype to True | COMMENT |
| LOW⚡ | …g_transformer/ivy_to_jax_postprocessing_transformer.py | 165 | # Step 2: Modify assignment nodes to use val_native on the right-hand side | COMMENT |
| LOW⚡ | …g_transformer/ivy_to_jax_postprocessing_transformer.py | 168 | # Step 3: Replace `if tensorflow_is_ivy_array_bknd(x)` with `x = x_native` | COMMENT |
| LOW⚡ | …transformer/ivy_to_numpy_postprocessing_transformer.py | 163 | # Step 1: Modify the default value of keep_input_dtype to True | COMMENT |
| LOW⚡ | …transformer/ivy_to_numpy_postprocessing_transformer.py | 166 | # Step 2: Modify assignment nodes to use val_native on the right-hand side | COMMENT |
| LOW⚡ | …transformer/ivy_to_numpy_postprocessing_transformer.py | 169 | # Step 3: Replace `if tensorflow_is_ivy_array_bknd(x)` with `x = x_native` | COMMENT |
| LOW⚡ | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 298 | # Step 1: Modify the default value of keep_input_dtype to True | COMMENT |
| LOW⚡ | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 301 | # Step 2: Modify assignment nodes to use val_native on the right-hand side | COMMENT |
| LOW⚡ | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 304 | # Step 3: Replace `if tensorflow_is_ivy_array_bknd(x)` with `x = x_native` | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ivy/__init__.py | 1198 | def set_cython_wrappers_mode(flag=True) -> None: | CODE |
| LOW | ivy/transpiler/core/__init__.py | 4 | __all__ = [ | CODE |
| LOW | …piler/transformations/transformers/base_transformer.py | 4 | __all__ = [] | CODE |
| LOW | ivy/transpiler/utils/conversion_utils.py | 9 | __all__ = [] | CODE |
| LOW | ivy/transpiler/utils/logging_utils.py | 7 | __all__ = [] | CODE |
| LOW | ivy/utils/logging.py | 35 | __all__ = ["set_logging_mode", "unset_logging_mode"] | CODE |
| LOW | ivy/functional/ivy/device.py | 287 | def set_soft_device_mode(mode: bool) -> None: | CODE |
| LOW | ivy/functional/ivy/device.py | 839 | def set_default_device(device: Union[ivy.Device, ivy.NativeDevice], /) -> None: | CODE |
| LOW | ivy/functional/ivy/__init__.py | 47 | __all__ = [ | CODE |
| LOW | ivy/functional/ivy/general.py | 101 | def set_precise_mode(mode: bool) -> None: | CODE |
| LOW | ivy/functional/ivy/general.py | 417 | def set_array_mode(mode: bool) -> None: | CODE |
| LOW | ivy/functional/ivy/general.py | 471 | def set_nestable_mode(mode: bool) -> None: | CODE |
| LOW | ivy/functional/ivy/general.py | 523 | def set_exception_trace_mode(mode: Literal["ivy", "full", "frontend"]) -> None: | CODE |
| LOW | ivy/functional/ivy/general.py | 581 | def set_show_func_wrapper_trace_mode(mode: bool) -> None: | CODE |
| LOW | ivy/functional/ivy/general.py | 2089 | def set_min_denominator(val: float) -> None: | CODE |
| LOW | ivy/functional/ivy/general.py | 2143 | def set_min_base(val: float) -> None: | CODE |
| LOW | ivy/functional/ivy/general.py | 2534 | def set_tmp_dir(tmp_dr: str) -> None: | CODE |
| LOW | ivy/functional/ivy/general.py | 3267 | def set_inplace_mode(mode: str = "lenient") -> None: | CODE |
| LOW | ivy/functional/ivy/general.py | 3944 | def set_shape_array_mode(mode: bool) -> None: | CODE |
| LOW | ivy/functional/ivy/experimental/__init__.py | 25 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 174 | CODE | |
| MEDIUM | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 177 | CODE | |
| MEDIUM | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 180 | CODE | |
| MEDIUM | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 184 | CODE | |
| MEDIUM | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 196 | CODE | |
| MEDIUM | …ng_transformer/ivy_to_tf_postprocessing_transformer.py | 197 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ivy/module/torch_module.py | 100 | # TODO: implement dtype setting of the parameters here | COMMENT |
| LOW | ivy/utils/backend/sub_backend_handler.py | 54 | # TODO: add tests | COMMENT |
| LOW | ivy/utils/backend/sub_backend_handler.py | 104 | # TODO: add tests | COMMENT |
| LOW | ivy/functional/ivy/nest.py | 1220 | # TODO: add tests for this | COMMENT |
| LOW | …unctional/frontends/sklearn/metrics/_classification.py | 9 | # TODO: implement sample_weight | COMMENT |
| LOW | …functional/frontends/sklearn/model_selection/_split.py | 115 | # TODO: implement stratify | COMMENT |
| LOW | ivy/functional/frontends/jax/numpy/logic.py | 211 | # TODO: implement | COMMENT |
| LOW | ivy/functional/frontends/pandas/generic.py | 55 | pass # TODO: implement string series | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …utograph_ivy/test_suite/loops_and_conditional_tests.py | 8 | def test_function(func, *args, backends=IVY_BACKENDS, **kwargs): | CODE |
| LOW | …tograph_ivy/test_suite/call_trees_and_returns_tests.py | 8 | def test_function(func, *args, backends=IVY_BACKENDS, **kwargs): | CODE |
| LOW | …/autograph_ivy/test_suite/breaks_and_continue_tests.py | 8 | def test_function(func, *args, backends=IVY_BACKENDS, **kwargs): | CODE |
| LOW | …aph_ivy/test_suite/neural_nets_dynamic_control_flow.py | 7 | def test_function(func_class, data, *constructor_args, backends=IVY_BACKENDS): | CODE |
| LOW | ivy/transpiler/ast/analysis.py | 31 | ... def my_function(): | STRING |
| LOW | ivy/transpiler/ast/analysis.py | 62 | ... def my_function(a, b, *args, **kwargs): | STRING |
| LOW | ivy/transpiler/ast/utils.py | 29 | ... def my_method(self): | STRING |
| LOW | ivy/transpiler/ast/utils.py | 32 | ... def my_function(): | STRING |
| LOW | …ions/name_canonicalize_transformers/examples/func_2.py | 5 | def process_data(data): | CODE |
| LOW | ivy_tests/test_transpiler/sourcegen/test_sourcegen.py | 15 | def test_function(tensorflow_param: tensorflow_param_type = tensorflow_default) -> tensorflow_return_type: | STRING |
| LOW | ivy_tests/test_ivy/helpers/function_testing.py | 438 | def test_function( | CODE |