Skip to content
Snippets Groups Projects
Commit 8f77a2c0 authored by Kaushik Kulkarni's avatar Kaushik Kulkarni Committed by Andreas Klöckner
Browse files

tag pt arrays' axes

parent 5964b91f
No related branches found
No related tags found
No related merge requests found
......@@ -212,11 +212,9 @@ class PytatoPyOpenCLArrayContext(ArrayContext):
array)
def tag_axis(self, iaxis, tags: Union[Sequence[Tag], Tag], array):
# TODO
from warnings import warn
warn("tagging PytatoPyOpenCLArrayContext's array axes: not yet implemented",
stacklevel=2)
return array
return rec_map_array_container(lambda x: x.with_tagged_axis(iaxis,
tags),
array)
def einsum(self, spec, *args, arg_names=None, tagged=()):
import pyopencl.array as cla
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment