|
| 1 | +pub mod vortex_tensor |
| 2 | + |
| 3 | +pub mod vortex_tensor::scalar_fns |
| 4 | + |
| 5 | +pub mod vortex_tensor::scalar_fns::cosine_similarity |
| 6 | + |
| 7 | +pub struct vortex_tensor::scalar_fns::cosine_similarity::CosineSimilarity |
| 8 | + |
| 9 | +impl core::clone::Clone for vortex_tensor::scalar_fns::cosine_similarity::CosineSimilarity |
| 10 | + |
| 11 | +pub fn vortex_tensor::scalar_fns::cosine_similarity::CosineSimilarity::clone(&self) -> vortex_tensor::scalar_fns::cosine_similarity::CosineSimilarity |
| 12 | + |
| 13 | +impl vortex_array::scalar_fn::vtable::ScalarFnVTable for vortex_tensor::scalar_fns::cosine_similarity::CosineSimilarity |
| 14 | + |
| 15 | +pub type vortex_tensor::scalar_fns::cosine_similarity::CosineSimilarity::Options = vortex_array::scalar_fn::vtable::EmptyOptions |
| 16 | + |
| 17 | +pub fn vortex_tensor::scalar_fns::cosine_similarity::CosineSimilarity::arity(&self, _options: &Self::Options) -> vortex_array::scalar_fn::vtable::Arity |
| 18 | + |
| 19 | +pub fn vortex_tensor::scalar_fns::cosine_similarity::CosineSimilarity::child_name(&self, _options: &Self::Options, child_idx: usize) -> vortex_array::scalar_fn::vtable::ChildName |
| 20 | + |
| 21 | +pub fn vortex_tensor::scalar_fns::cosine_similarity::CosineSimilarity::execute(&self, _options: &Self::Options, args: &dyn vortex_array::scalar_fn::vtable::ExecutionArgs, _ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult<vortex_array::array::ArrayRef> |
| 22 | + |
| 23 | +pub fn vortex_tensor::scalar_fns::cosine_similarity::CosineSimilarity::fmt_sql(&self, _options: &Self::Options, expr: &vortex_array::expr::expression::Expression, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result |
| 24 | + |
| 25 | +pub fn vortex_tensor::scalar_fns::cosine_similarity::CosineSimilarity::id(&self) -> vortex_array::scalar_fn::ScalarFnId |
| 26 | + |
| 27 | +pub fn vortex_tensor::scalar_fns::cosine_similarity::CosineSimilarity::is_fallible(&self, _options: &Self::Options) -> bool |
| 28 | + |
| 29 | +pub fn vortex_tensor::scalar_fns::cosine_similarity::CosineSimilarity::is_null_sensitive(&self, _options: &Self::Options) -> bool |
| 30 | + |
| 31 | +pub fn vortex_tensor::scalar_fns::cosine_similarity::CosineSimilarity::return_dtype(&self, _options: &Self::Options, arg_dtypes: &[vortex_array::dtype::DType]) -> vortex_error::VortexResult<vortex_array::dtype::DType> |
| 32 | + |
| 33 | +pub fn vortex_tensor::scalar_fns::cosine_similarity::CosineSimilarity::validity(&self, _options: &Self::Options, expression: &vortex_array::expr::expression::Expression) -> vortex_error::VortexResult<core::option::Option<vortex_array::expr::expression::Expression>> |
| 34 | + |
| 35 | +pub struct vortex_tensor::FixedShapeTensor |
| 36 | + |
| 37 | +impl core::clone::Clone for vortex_tensor::FixedShapeTensor |
| 38 | + |
| 39 | +pub fn vortex_tensor::FixedShapeTensor::clone(&self) -> vortex_tensor::FixedShapeTensor |
| 40 | + |
| 41 | +impl core::cmp::Eq for vortex_tensor::FixedShapeTensor |
| 42 | + |
| 43 | +impl core::cmp::PartialEq for vortex_tensor::FixedShapeTensor |
| 44 | + |
| 45 | +pub fn vortex_tensor::FixedShapeTensor::eq(&self, other: &vortex_tensor::FixedShapeTensor) -> bool |
| 46 | + |
| 47 | +impl core::default::Default for vortex_tensor::FixedShapeTensor |
| 48 | + |
| 49 | +pub fn vortex_tensor::FixedShapeTensor::default() -> vortex_tensor::FixedShapeTensor |
| 50 | + |
| 51 | +impl core::fmt::Debug for vortex_tensor::FixedShapeTensor |
| 52 | + |
| 53 | +pub fn vortex_tensor::FixedShapeTensor::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result |
| 54 | + |
| 55 | +impl core::hash::Hash for vortex_tensor::FixedShapeTensor |
| 56 | + |
| 57 | +pub fn vortex_tensor::FixedShapeTensor::hash<__H: core::hash::Hasher>(&self, state: &mut __H) |
| 58 | + |
| 59 | +impl core::marker::StructuralPartialEq for vortex_tensor::FixedShapeTensor |
| 60 | + |
| 61 | +impl vortex_array::dtype::extension::vtable::ExtVTable for vortex_tensor::FixedShapeTensor |
| 62 | + |
| 63 | +pub type vortex_tensor::FixedShapeTensor::Metadata = vortex_tensor::FixedShapeTensorMetadata |
| 64 | + |
| 65 | +pub type vortex_tensor::FixedShapeTensor::NativeValue<'a> = &'a vortex_array::scalar::scalar_value::ScalarValue |
| 66 | + |
| 67 | +pub fn vortex_tensor::FixedShapeTensor::deserialize_metadata(&self, metadata: &[u8]) -> vortex_error::VortexResult<Self::Metadata> |
| 68 | + |
| 69 | +pub fn vortex_tensor::FixedShapeTensor::id(&self) -> vortex_array::dtype::extension::ExtId |
| 70 | + |
| 71 | +pub fn vortex_tensor::FixedShapeTensor::serialize_metadata(&self, metadata: &Self::Metadata) -> vortex_error::VortexResult<alloc::vec::Vec<u8>> |
| 72 | + |
| 73 | +pub fn vortex_tensor::FixedShapeTensor::unpack_native<'a>(&self, _metadata: &'a Self::Metadata, _storage_dtype: &'a vortex_array::dtype::DType, storage_value: &'a vortex_array::scalar::scalar_value::ScalarValue) -> vortex_error::VortexResult<Self::NativeValue> |
| 74 | + |
| 75 | +pub fn vortex_tensor::FixedShapeTensor::validate_dtype(&self, metadata: &Self::Metadata, storage_dtype: &vortex_array::dtype::DType) -> vortex_error::VortexResult<()> |
| 76 | + |
| 77 | +pub struct vortex_tensor::FixedShapeTensorMetadata |
| 78 | + |
| 79 | +impl vortex_tensor::FixedShapeTensorMetadata |
| 80 | + |
| 81 | +pub fn vortex_tensor::FixedShapeTensorMetadata::dim_names(&self) -> core::option::Option<&[alloc::string::String]> |
| 82 | + |
| 83 | +pub fn vortex_tensor::FixedShapeTensorMetadata::logical_shape(&self) -> &[usize] |
| 84 | + |
| 85 | +pub fn vortex_tensor::FixedShapeTensorMetadata::ndim(&self) -> usize |
| 86 | + |
| 87 | +pub fn vortex_tensor::FixedShapeTensorMetadata::new(shape: alloc::vec::Vec<usize>) -> Self |
| 88 | + |
| 89 | +pub fn vortex_tensor::FixedShapeTensorMetadata::permutation(&self) -> core::option::Option<&[usize]> |
| 90 | + |
| 91 | +pub fn vortex_tensor::FixedShapeTensorMetadata::physical_shape(&self) -> impl core::iter::traits::iterator::Iterator<Item = usize> + '_ |
| 92 | + |
| 93 | +pub fn vortex_tensor::FixedShapeTensorMetadata::strides(&self) -> impl core::iter::traits::iterator::Iterator<Item = usize> + '_ |
| 94 | + |
| 95 | +pub fn vortex_tensor::FixedShapeTensorMetadata::with_dim_names(self, names: alloc::vec::Vec<alloc::string::String>) -> vortex_error::VortexResult<Self> |
| 96 | + |
| 97 | +pub fn vortex_tensor::FixedShapeTensorMetadata::with_permutation(self, permutation: alloc::vec::Vec<usize>) -> vortex_error::VortexResult<Self> |
| 98 | + |
| 99 | +impl core::clone::Clone for vortex_tensor::FixedShapeTensorMetadata |
| 100 | + |
| 101 | +pub fn vortex_tensor::FixedShapeTensorMetadata::clone(&self) -> vortex_tensor::FixedShapeTensorMetadata |
| 102 | + |
| 103 | +impl core::cmp::Eq for vortex_tensor::FixedShapeTensorMetadata |
| 104 | + |
| 105 | +impl core::cmp::PartialEq for vortex_tensor::FixedShapeTensorMetadata |
| 106 | + |
| 107 | +pub fn vortex_tensor::FixedShapeTensorMetadata::eq(&self, other: &vortex_tensor::FixedShapeTensorMetadata) -> bool |
| 108 | + |
| 109 | +impl core::fmt::Debug for vortex_tensor::FixedShapeTensorMetadata |
| 110 | + |
| 111 | +pub fn vortex_tensor::FixedShapeTensorMetadata::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result |
| 112 | + |
| 113 | +impl core::fmt::Display for vortex_tensor::FixedShapeTensorMetadata |
| 114 | + |
| 115 | +pub fn vortex_tensor::FixedShapeTensorMetadata::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result |
| 116 | + |
| 117 | +impl core::hash::Hash for vortex_tensor::FixedShapeTensorMetadata |
| 118 | + |
| 119 | +pub fn vortex_tensor::FixedShapeTensorMetadata::hash<__H: core::hash::Hasher>(&self, state: &mut __H) |
| 120 | + |
| 121 | +impl core::marker::StructuralPartialEq for vortex_tensor::FixedShapeTensorMetadata |
0 commit comments