text stringlengths 17 362k | id stringlengths 13 115 | metadata dict | __index_level_0__ int64 0 75 |
|---|---|---|---|
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</state>
</component>
| ivy/.idea/codeStyles/codeStyleConfig.xml/0 | {
"file_path": "ivy/.idea/codeStyles/codeStyleConfig.xml",
"repo_id": "ivy",
"token_count": 51
} | 0 |
# How to Contribute
You can pick an open issue to contribute from our [ToDo list issues](https://github.com/unifyai/ivy/issues?q=is%3Aopen+is%3Aissue+label%3AToDo), which is the placeholder of our subtasks.
Please, follow the next process when you work on your subtask:
## Steps
1. **Choosing a Task:**
- Choose ... | ivy/CONTRIBUTING.md/0 | {
"file_path": "ivy/CONTRIBUTING.md",
"repo_id": "ivy",
"token_count": 849
} | 1 |
#!/bin/bash
docker build --progress=plain -t unifyai/multiversion:base -f MultiversionDockerFile ..
| ivy/docker/build_multiversiondockerfile.sh/0 | {
"file_path": "ivy/docker/build_multiversiondockerfile.sh",
"repo_id": "ivy",
"token_count": 39
} | 2 |
.. title:: Home
.. include:: ../README.md
:parser: myst_parser.sphinx_
.. toctree::
:hidden:
:maxdepth: -1
Home <self>
.. toctree::
:hidden:
:maxdepth: -1
:caption: The Basics
overview/get_started.rst
demos/quickstart.ipynb
.. toctree::
:hidden:
:maxdepth: -1
:caption: Demos
demos/le... | ivy/docs/index.rst/0 | {
"file_path": "ivy/docs/index.rst",
"repo_id": "ivy",
"token_count": 514
} | 3 |
Containers
==========
.. _`ivy.Container`: https://github.com/unifyai/ivy/blob/b725ed10bca15f6f10a0e5154af10231ca842da2/ivy/container/container.py#L52
.. _`dict`: https://github.com/unifyai/ivy/blob/b725ed10bca15f6f10a0e5154af10231ca842da2/ivy/container/base.py#L51
.. _`ivy.Container.cont_map`: https://github.com/unif... | ivy/docs/overview/deep_dive/containers.rst/0 | {
"file_path": "ivy/docs/overview/deep_dive/containers.rst",
"repo_id": "ivy",
"token_count": 7349
} | 4 |
Ivy-Lint: Ivy's Custom Code Formatters
======================================
Overview
--------
``ivy-lint`` is a specialized suite of formatters crafted for the Ivy codebase. It addresses unique formatting requirements not catered to by standard Python formatters. While the suite currently highlights the ``FunctionO... | ivy/docs/overview/deep_dive/ivy_lint.rst/0 | {
"file_path": "ivy/docs/overview/deep_dive/ivy_lint.rst",
"repo_id": "ivy",
"token_count": 681
} | 5 |
Motivation
==========
| (a) `ML Explosion <motivation/ml_explosion.rst>`_
| A huge number of ML tools have exploded onto the scene!
|
| (b) `Why Unify? <motivation/why_unify.rst>`_
| Why should we try to unify them?
|
| (c) `Standardization <motivation/standardization.rst>`_
| We’re collaborating with The `Consortium ... | ivy/docs/overview/motivation.rst/0 | {
"file_path": "ivy/docs/overview/motivation.rst",
"repo_id": "ivy",
"token_count": 195
} | 6 |
.. _`RWorks Vendor-Specific APIs`:
Vendor-Specific APIs
====================
.. _`CUDA`: https://developer.nvidia.com/cuda-toolkit
.. _`TensorRT`: https://developer.nvidia.com/tensorrt
.. _`NVIDIA`: https://www.nvidia.com/
.. _`PyTorch`: https://pytorch.org/
.. _`TensorFlow`: https://www.tensorflow.org/
.. _`Compute ... | ivy/docs/overview/related_work/vendor_specific_apis.rst/0 | {
"file_path": "ivy/docs/overview/related_work/vendor_specific_apis.rst",
"repo_id": "ivy",
"token_count": 684
} | 7 |
# flake8: noqa
# global
import copy
import functools
import numpy as np
from operator import mul
from typing import Optional
# local
import ivy
from .conversions import args_to_native, to_ivy
from .activations import _ArrayWithActivations
from .creation import _ArrayWithCreation
from .data_type import _ArrayWithDataTy... | ivy/ivy/data_classes/array/array.py/0 | {
"file_path": "ivy/ivy/data_classes/array/array.py",
"repo_id": "ivy",
"token_count": 17731
} | 8 |
# global
import abc
from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
# local
import ivy
class _ArrayWithLayersExperimental(abc.ABC):
def max_pool1d(
self: ivy.Array,
kernel: Union[int, Tuple[int, ...]],
strides: Union[int, Tuple[int, ...]],
padding: Uni... | ivy/ivy/data_classes/array/experimental/layers.py/0 | {
"file_path": "ivy/ivy/data_classes/array/experimental/layers.py",
"repo_id": "ivy",
"token_count": 22888
} | 9 |
# global
import abc
from typing import Optional, Union
# local
import ivy
class _ArrayWithLosses(abc.ABC):
def cross_entropy(
self: ivy.Array,
pred: Union[ivy.Array, ivy.NativeArray],
/,
*,
axis: int = -1,
epsilon: float = 1e-7,
reduction: str = "mean",
... | ivy/ivy/data_classes/array/losses.py/0 | {
"file_path": "ivy/ivy/data_classes/array/losses.py",
"repo_id": "ivy",
"token_count": 2787
} | 10 |
# global
from typing import Optional, Union, List, Dict, Tuple, Callable
# local
import ivy
from ivy.data_classes.container.base import ContainerBase
# ToDo: implement all methods here as public instance methods
# noinspection PyMissingConstructor
class _ContainerWithDataTypes(ContainerBase):
@staticmethod
... | ivy/ivy/data_classes/container/data_type.py/0 | {
"file_path": "ivy/ivy/data_classes/container/data_type.py",
"repo_id": "ivy",
"token_count": 22747
} | 11 |
End of preview. Expand in Data Studio
- Downloads last month
- 17