Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Qualcomm-AI-research/geometric-algebra-transformer
/ functions
Functions
452 in github.com/Qualcomm-AI-research/geometric-algebra-transformer
⨍
Functions
452
◇
Types & classes
61
↳
Endpoints
4
Function
test_geometric_product_correctness
Tests the geometric_product() primitive for correctness (that is, consistency with the clifford library).
tests/gatr/primitives/test_bilinear.py:18
Function
test_geometric_product_equivariance
Tests the geometric_product() primitive for equivariance.
tests/gatr/primitives/test_bilinear.py:34
Function
test_grade_involution_correctness
Tests the multivector reverse for equivariance.
tests/gatr/primitives/test_linear.py:31
Function
test_grade_project_equivariance
Tests the grade_project() primitive for equivariance.
tests/gatr/primitives/test_linear.py:43
Function
test_identity_equivariance
Tests an identity map for equivariance (testing the test).
tests/gatr/primitives/test_linear.py:37
Function
test_inner_product_invariance
Tests the innner_product() primitive for equivariance.
tests/gatr/primitives/test_invariants.py:53
Function
test_join_equivariance
Tests the join() primitive for equivariance.
tests/gatr/primitives/test_dual.py:43
Function
test_join_norm_correctness
Tests the join_norm() primitive for correctness.
tests/gatr/primitives/test_dual.py:31
Function
test_linear_equivariance
Tests the equi_linear() primitive for equivariance.
tests/gatr/primitives/test_linear.py:56
Function
test_linear_layer_equivariance
Tests the equi_linear() primitive for equivariance.
tests/gatr/layers/test_linear.py:150
Function
test_linear_layer_initialization
Tests the initialization of `EquiLinear`. The goal is that independent of the channel size, inputs with variance 1 are mapped to outputs with
tests/gatr/layers/test_linear.py:18
Function
test_linear_layer_linearity
Tests that the EquiLinear layer indeed describes a linear map (when the bias is deactivated). Checks that `f(x + rescaling * y) = f(x) + rescalin
tests/gatr/layers/test_linear.py:104
Function
test_minimum_autocast_precision_inputs
Tests that minimum_autocast_precision() casts inputs correctly
tests/gatr/utils/test_misc.py:12
Function
test_minimum_autocast_precision_outputs
Tests that minimum_autocast_precision() casts outputs correctly
tests/gatr/utils/test_misc.py:70
Function
test_mv_list_tensor_conversion
Tests whether the conversion between lists of clifford.Multivectors and torch.Tensors is cycle-consistent.
tests/gatr/utils/test_clifford.py:12
Function
test_norm_correctness
Checks that norm() is consistent with inner_product().
tests/gatr/primitives/test_invariants.py:13
Function
test_norm_invariance
Tests the norm() primitive for equivariance.
tests/gatr/primitives/test_invariants.py:59
Function
test_norm_of_vector
Computes the norm of a pure vector and compares against a known result.
tests/gatr/primitives/test_invariants.py:31
Function
test_opt_einsum_shape
Verifies contract_path can be called with shapes. Note that we test upstream functionality here, which should not be necessary. However, with
tests/gatr/utils/test_einsum.py:46
Function
test_outer_product_correctness
Tests the outer_product() primitive for correctness (that is, consistency with the clifford library).
tests/gatr/primitives/test_bilinear.py:26
Function
test_outer_product_equivariance
Tests the outer_product() primitive for equivariance.
tests/gatr/primitives/test_bilinear.py:40
Function
test_pga_attention_equivariance
Tests pga_attention() for Pin equivariance.
tests/gatr/primitives/test_attention.py:137
Function
test_pga_attention_proximity
Tests that with the right weights, pga_attention attends to nearby points.
tests/gatr/primitives/test_attention.py:168
Function
test_pga_attention_shape
Tests that outputs of pga_attention() have correct shape.
tests/gatr/primitives/test_attention.py:53
Function
test_pin_invariants_invariance
Tests the pin_invariants() primitive for equivariance.
tests/gatr/primitives/test_invariants.py:65
Function
test_plane_embedding_consistency
Tests whether plane embeddings into multivectors are cycle consistent.
tests/gatr/interface/test_plane.py:11
Function
test_point_embedding_consistency
Tests whether 3D point embeddings into multivectors are cycle consistent.
tests/gatr/interface/test_point.py:12
Function
test_point_scaling_invariance
Tests whether 3D points extracted from multivector are invariant under rescalings of the multivector.
tests/gatr/interface/test_point.py:26
Function
test_reflection_embedding_consistency
Tests whether reflection embeddings into multivectors are cycle consistent.
tests/gatr/interface/test_reflection.py:24
Function
test_reflection_on_plane
Tests whether reflection embeddings act on oriented plane embeddings as expected.
tests/gatr/interface/test_reflection.py:71
Function
test_reflection_on_point
Tests whether the embedding of a reflection along the plane normal to a given coordinate axis acts on point embeddings as expected.
tests/gatr/interface/test_reflection.py:36
Function
test_reflection_on_pseudoscalar
Tests whether reflections act on pseudoscalars as expected.
tests/gatr/interface/test_reflection.py:125
Function
test_reflection_on_scalar
Tests whether reflections act on scalars as expected.
tests/gatr/interface/test_reflection.py:101
Function
test_regression
Test whether model can successfully regress on a dataset data to almost zero train error.
tests_regression/test_regression.py:52
Function
test_reverse_correctness
Tests the multivector reverse for equivariance.
tests/gatr/primitives/test_linear.py:25
Function
test_rotation_embedding_consistency
Tests whether rotation embeddings into multivectors are cycle consistent.
tests/gatr/interface/test_rotation.py:25
Function
test_rotation_on_plane
Tests whether applying rotations to planes via matrix-vector multiplication equals rotation via geometric product.
tests/gatr/interface/test_rotation.py:59
Function
test_rotation_on_point
Tests whether applying rotations to points via matrix-vector multiplication equals rotation via geometric product.
tests/gatr/interface/test_rotation.py:35
Function
test_rotation_on_pseudoscalar
Tests whether rotations act on pseudoscalars as expected.
tests/gatr/interface/test_rotation.py:104
Function
test_rotation_on_scalar
Tests whether rotations act on scalars as expected.
tests/gatr/interface/test_rotation.py:84
Function
test_scalar_attention_equivariance
Tests scalar_attention() for Pin equivariance.
tests/gatr/primitives/test_attention.py:123
Function
test_scalar_attention_shape
Tests that outputs of scalar_attention() have correct shape.
tests/gatr/primitives/test_attention.py:20
Function
test_scalar_gated_nonlinearity_layer_equivariance
Tests ScalarGatedNonlinearity() for equivariance.
tests/gatr/layers/test_nonlinearities.py:13
Function
test_to_nd
Test to_nd.
tests/gatr/utils/test_tensors.py:8
Function
test_toggle_einsum_caching
Verifies that the global switch for gatr_einsum works as expected.
tests/gatr/utils/test_einsum.py:87
Function
test_transformer_shape
Tests the output shape of BaselineTransformer.
tests/gatr/baselines/test_transformer.py:16
Function
test_translation_embedding_consistency
Tests whether translation embeddings into multivectors are cycle consistent.
tests/gatr/interface/test_translation.py:25
Function
test_translation_on_plane
Tests whether translation embeddings act on oriented plane embeddings as expected.
tests/gatr/interface/test_translation.py:68
Function
test_translation_on_point
Tests whether translation embeddings act on point embeddings as expected.
tests/gatr/interface/test_translation.py:35
Function
test_translation_on_pseudoscalar
Tests whether translations act on pseudoscalars as expected.
tests/gatr/interface/test_translation.py:114
Function
test_translation_on_scalar
Tests whether translations act on scalars as expected.
tests/gatr/interface/test_translation.py:94
Function
walker
(module)
gatr/utils/compile_linear.py:148
← previous
401–452 of 452, ranked by callers