Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-harmonics
Commits
ae8257b5
Commit
ae8257b5
authored
May 22, 2025
by
Boris Bonev
Committed by
Boris Bonev
May 24, 2025
Browse files
adapting header files
parent
13d6130e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
21 deletions
+51
-21
torch_harmonics/_neighborhood_attention.py
torch_harmonics/_neighborhood_attention.py
+19
-19
torch_harmonics/attention.py
torch_harmonics/attention.py
+1
-1
torch_harmonics/csrc/attention/attention_row_offset.cu
torch_harmonics/csrc/attention/attention_row_offset.cu
+30
-0
torch_harmonics/plotting.py
torch_harmonics/plotting.py
+1
-1
No files found.
torch_harmonics/_neighborhood_attention.py
View file @
ae8257b5
# coding=utf-8
# coding=utf-8
# SPDX-FileCopyrightText: Copyright (c) 202
4
The torch-harmonics Authors. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 202
5
The torch-harmonics Authors. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause
# SPDX-License-Identifier: BSD-3-Clause
#
#
# Redistribution and use in source and binary forms, with or without
# Redistribution and use in source and binary forms, with or without
...
...
torch_harmonics/attention.py
View file @
ae8257b5
# coding=utf-8
# coding=utf-8
# SPDX-FileCopyrightText: Copyright (c) 202
4
The torch-harmonics Authors. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 202
5
The torch-harmonics Authors. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause
# SPDX-License-Identifier: BSD-3-Clause
#
#
# Redistribution and use in source and binary forms, with or without
# Redistribution and use in source and binary forms, with or without
...
...
torch_harmonics/csrc/attention/attention_row_offset.cu
View file @
ae8257b5
// coding=utf-8
//
// SPDX-FileCopyrightText: Copyright (c) 2025 The torch-harmonics Authors. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this
// list of conditions and the following disclaimer.
//
// 2. Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.
//
// 3. Neither the name of the copyright holder nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "ATen/core/TensorAccessor.h"
#include "ATen/core/TensorAccessor.h"
#include <cmath>
#include <cmath>
#include <cstdint>
#include <cstdint>
...
...
torch_harmonics/plotting.py
View file @
ae8257b5
# coding=utf-8
# coding=utf-8
# SPDX-FileCopyrightText: Copyright (c) 202
2
The torch-harmonics Authors. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 202
5
The torch-harmonics Authors. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause
# SPDX-License-Identifier: BSD-3-Clause
#
#
# Redistribution and use in source and binary forms, with or without
# Redistribution and use in source and binary forms, with or without
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment