From 4c2f85cbc655b7045644c36d59e5a24c5d628851 Mon Sep 17 00:00:00 2001 From: Hana Joo Date: Wed, 1 Jul 2026 07:30:28 -0700 Subject: [PATCH] Code update PiperOrigin-RevId: 941083862 --- diffren/__init__.py | 2 +- diffren/common/__init__.py | 2 +- diffren/common/compare_images.py | 2 +- diffren/common/kernels/rasterize_test_utils.cc | 2 +- diffren/common/kernels/rasterize_test_utils.h | 2 +- diffren/common/kernels/rasterize_triangles_impl.cc | 2 +- diffren/common/kernels/rasterize_triangles_impl.h | 2 +- .../kernels/rasterize_triangles_impl_cuda.cu.cc | 2 +- .../kernels/rasterize_triangles_impl_cuda.cu.h | 2 +- .../kernels/rasterize_triangles_impl_cuda_test.cc | 2 +- .../common/kernels/rasterize_triangles_impl_test.cc | 2 +- diffren/common/kernels/rasterize_triangles_types.h | 2 +- diffren/common/kernels/rasterize_utils.h | 2 +- diffren/common/obj_loader.py | 12 ++++++------ diffren/common/obj_loader_test.py | 2 +- diffren/common/test_utils.py | 4 ++-- diffren/jax/__init__.py | 2 +- diffren/jax/camera.py | 4 ++-- diffren/jax/camera_test.py | 2 +- diffren/jax/composite.py | 2 +- diffren/jax/constants.py | 2 +- diffren/jax/internal/__init__.py | 2 +- diffren/jax/internal/framebuffer.py | 4 ++-- diffren/jax/internal/framebuffer_test.py | 2 +- diffren/jax/internal/interpolate.py | 2 +- diffren/jax/internal/interpolate_test.py | 2 +- .../jax/internal/kernels/rasterize_triangles_cpu.cc | 2 +- .../jax/internal/kernels/rasterize_triangles_gpu.cc | 2 +- .../jax/internal/kernels/rasterize_triangles_xla.py | 2 +- .../internal/kernels/rasterize_triangles_xla_test.py | 2 +- diffren/jax/internal/rasterize.py | 4 ++-- diffren/jax/internal/rasterize_test.py | 2 +- diffren/jax/internal/splat.py | 2 +- diffren/jax/internal/splat_test.py | 8 ++++---- diffren/jax/render.py | 2 +- diffren/jax/render_test.py | 6 +++--- diffren/jax/utils/__init__.py | 2 +- diffren/jax/utils/depthmap.py | 2 +- diffren/jax/utils/depthmap_test.py | 2 +- diffren/jax/utils/image.py | 2 +- diffren/jax/utils/image_test.py | 2 +- diffren/jax/utils/mesh.py | 2 +- diffren/jax/utils/mesh_test.py | 2 +- diffren/jax/utils/shaders.py | 2 +- diffren/jax/utils/shaders_test.py | 2 +- diffren/jax/utils/transforms.py | 2 +- diffren/jax/utils/transforms_test.py | 2 +- 47 files changed, 61 insertions(+), 61 deletions(-) diff --git a/diffren/__init__.py b/diffren/__init__.py index 0be8e66..d734120 100644 --- a/diffren/__init__.py +++ b/diffren/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/common/__init__.py b/diffren/common/__init__.py index 3c71021..8f06f39 100644 --- a/diffren/common/__init__.py +++ b/diffren/common/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/common/compare_images.py b/diffren/common/compare_images.py index cf91551..41f57e4 100644 --- a/diffren/common/compare_images.py +++ b/diffren/common/compare_images.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/common/kernels/rasterize_test_utils.cc b/diffren/common/kernels/rasterize_test_utils.cc index 19cdde4..3fb13a1 100644 --- a/diffren/common/kernels/rasterize_test_utils.cc +++ b/diffren/common/kernels/rasterize_test_utils.cc @@ -1,4 +1,4 @@ -/* Copyright 2024 The diffren Authors. +/* Copyright 2026 The diffren Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/diffren/common/kernels/rasterize_test_utils.h b/diffren/common/kernels/rasterize_test_utils.h index ec035fe..5c58eb1 100644 --- a/diffren/common/kernels/rasterize_test_utils.h +++ b/diffren/common/kernels/rasterize_test_utils.h @@ -1,4 +1,4 @@ -/* Copyright 2024 The diffren Authors. +/* Copyright 2026 The diffren Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/diffren/common/kernels/rasterize_triangles_impl.cc b/diffren/common/kernels/rasterize_triangles_impl.cc index c013bf2..056668e 100644 --- a/diffren/common/kernels/rasterize_triangles_impl.cc +++ b/diffren/common/kernels/rasterize_triangles_impl.cc @@ -1,4 +1,4 @@ -/* Copyright 2024 The diffren Authors. +/* Copyright 2026 The diffren Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/diffren/common/kernels/rasterize_triangles_impl.h b/diffren/common/kernels/rasterize_triangles_impl.h index acdf6fa..f134274 100644 --- a/diffren/common/kernels/rasterize_triangles_impl.h +++ b/diffren/common/kernels/rasterize_triangles_impl.h @@ -1,4 +1,4 @@ -/* Copyright 2024 The diffren Authors. +/* Copyright 2026 The diffren Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/diffren/common/kernels/rasterize_triangles_impl_cuda.cu.cc b/diffren/common/kernels/rasterize_triangles_impl_cuda.cu.cc index 5dfad1a..3ba6bb3 100644 --- a/diffren/common/kernels/rasterize_triangles_impl_cuda.cu.cc +++ b/diffren/common/kernels/rasterize_triangles_impl_cuda.cu.cc @@ -1,4 +1,4 @@ -/* Copyright 2024 The diffren Authors. +/* Copyright 2026 The diffren Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/diffren/common/kernels/rasterize_triangles_impl_cuda.cu.h b/diffren/common/kernels/rasterize_triangles_impl_cuda.cu.h index 124fd8c..3a58f04 100644 --- a/diffren/common/kernels/rasterize_triangles_impl_cuda.cu.h +++ b/diffren/common/kernels/rasterize_triangles_impl_cuda.cu.h @@ -1,4 +1,4 @@ -/* Copyright 2024 The diffren Authors. +/* Copyright 2026 The diffren Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/diffren/common/kernels/rasterize_triangles_impl_cuda_test.cc b/diffren/common/kernels/rasterize_triangles_impl_cuda_test.cc index d6b40b3..ed81abf 100644 --- a/diffren/common/kernels/rasterize_triangles_impl_cuda_test.cc +++ b/diffren/common/kernels/rasterize_triangles_impl_cuda_test.cc @@ -1,4 +1,4 @@ -/* Copyright 2024 The diffren Authors. +/* Copyright 2026 The diffren Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/diffren/common/kernels/rasterize_triangles_impl_test.cc b/diffren/common/kernels/rasterize_triangles_impl_test.cc index d3d8331..622940d 100644 --- a/diffren/common/kernels/rasterize_triangles_impl_test.cc +++ b/diffren/common/kernels/rasterize_triangles_impl_test.cc @@ -1,4 +1,4 @@ -/* Copyright 2024 The diffren Authors. +/* Copyright 2026 The diffren Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/diffren/common/kernels/rasterize_triangles_types.h b/diffren/common/kernels/rasterize_triangles_types.h index 96e5861..589ecb6 100644 --- a/diffren/common/kernels/rasterize_triangles_types.h +++ b/diffren/common/kernels/rasterize_triangles_types.h @@ -1,4 +1,4 @@ -/* Copyright 2024 The diffren Authors. +/* Copyright 2026 The diffren Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/diffren/common/kernels/rasterize_utils.h b/diffren/common/kernels/rasterize_utils.h index 59abf7f..3b02ce2 100644 --- a/diffren/common/kernels/rasterize_utils.h +++ b/diffren/common/kernels/rasterize_utils.h @@ -1,4 +1,4 @@ -/* Copyright 2024 The diffren Authors. +/* Copyright 2026 The diffren Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/diffren/common/obj_loader.py b/diffren/common/obj_loader.py index abcf6c6..7c07894 100644 --- a/diffren/common/obj_loader.py +++ b/diffren/common/obj_loader.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -92,13 +92,13 @@ def load_and_flatten_obj(obj_path): flat_triangles.append(triangle) # Keep only vertex types that are used in at least one vertex. - flat_vertices_array = np.float32(flat_vertices_list) - flat_vertices = flat_vertices_array[:, :3] + flat_vertices_array = np.float32(flat_vertices_list) # pyrefly: ignore[bad-argument-type] + flat_vertices = flat_vertices_array[:, :3] # pyrefly: ignore[bad-index] if has_type['vt']: - flat_vertices = np.concatenate((flat_vertices, flat_vertices_array[:, 3:5]), + flat_vertices = np.concatenate((flat_vertices, flat_vertices_array[:, 3:5]), # pyrefly: ignore[bad-index] axis=-1) if has_type['vn']: - flat_vertices = np.concatenate((flat_vertices, flat_vertices_array[:, -3:]), + flat_vertices = np.concatenate((flat_vertices, flat_vertices_array[:, -3:]), # pyrefly: ignore[bad-index] axis=-1) - return flat_vertices, np.int32(flat_triangles) + return flat_vertices, np.int32(flat_triangles) # pyrefly: ignore[bad-argument-type] diff --git a/diffren/common/obj_loader_test.py b/diffren/common/obj_loader_test.py index 16f6466..d9126fa 100644 --- a/diffren/common/obj_loader_test.py +++ b/diffren/common/obj_loader_test.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/common/test_utils.py b/diffren/common/test_utils.py index 868101b..6b7da87 100644 --- a/diffren/common/test_utils.py +++ b/diffren/common/test_utils.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -49,7 +49,7 @@ def eye_position(view_name): elif view_name.startswith('spot'): eye = np.array((0.2, 0.3, -0.5)) world_up = np.array((0.0, -1.0, 0.0)) - return eye, world_up + return eye, world_up # pyrefly: ignore[unbound-name] def make_look_at_matrix(view_name): diff --git a/diffren/jax/__init__.py b/diffren/jax/__init__.py index 3c71021..8f06f39 100644 --- a/diffren/jax/__init__.py +++ b/diffren/jax/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/camera.py b/diffren/jax/camera.py index 5fec670..62b6b83 100644 --- a/diffren/jax/camera.py +++ b/diffren/jax/camera.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ def perspective(aspect_ratio: float, fov_y: float, near_clip: float, # and adds the half-angle factor of .5. focal_length_y = 1.0 / jnp.tan(fov_y * (math.pi / 360.0)) return perspective_from_intrinsics(focal_length_y / aspect_ratio, # pytype: disable=wrong-arg-types # jax-types - focal_length_y, 0.0, 0.0, near_clip, + focal_length_y, 0.0, 0.0, near_clip, # pyrefly: ignore[bad-argument-type] far_clip, 2, 2) diff --git a/diffren/jax/camera_test.py b/diffren/jax/camera_test.py index 4644093..fda5895 100644 --- a/diffren/jax/camera_test.py +++ b/diffren/jax/camera_test.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/composite.py b/diffren/jax/composite.py index 2dd8e63..8ae8a6b 100644 --- a/diffren/jax/composite.py +++ b/diffren/jax/composite.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/constants.py b/diffren/jax/constants.py index 109c12f..4c37ab2 100644 --- a/diffren/jax/constants.py +++ b/diffren/jax/constants.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/internal/__init__.py b/diffren/jax/internal/__init__.py index 3c71021..8f06f39 100644 --- a/diffren/jax/internal/__init__.py +++ b/diffren/jax/internal/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/internal/framebuffer.py b/diffren/jax/internal/framebuffer.py index 187eccf..820ca9e 100644 --- a/diffren/jax/internal/framebuffer.py +++ b/diffren/jax/internal/framebuffer.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -121,7 +121,7 @@ def layer(self, index): return self return Framebuffer( - triangle_id=self.triangle_id[:, index, ...] + triangle_id=self.triangle_id[:, index, ...] # pyrefly: ignore[bad-argument-type] if self.triangle_id is not None else None, vertex_ids=self.vertex_ids[:, index, ...], foreground_mask=self.foreground_mask[:, index, ...], diff --git a/diffren/jax/internal/framebuffer_test.py b/diffren/jax/internal/framebuffer_test.py index 63be1e0..da332cd 100644 --- a/diffren/jax/internal/framebuffer_test.py +++ b/diffren/jax/internal/framebuffer_test.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/internal/interpolate.py b/diffren/jax/internal/interpolate.py index 48a542d..6084a69 100644 --- a/diffren/jax/internal/interpolate.py +++ b/diffren/jax/internal/interpolate.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/internal/interpolate_test.py b/diffren/jax/internal/interpolate_test.py index a2ea099..2b6c533 100644 --- a/diffren/jax/internal/interpolate_test.py +++ b/diffren/jax/internal/interpolate_test.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/internal/kernels/rasterize_triangles_cpu.cc b/diffren/jax/internal/kernels/rasterize_triangles_cpu.cc index 666e8a7..7ea0bc0 100644 --- a/diffren/jax/internal/kernels/rasterize_triangles_cpu.cc +++ b/diffren/jax/internal/kernels/rasterize_triangles_cpu.cc @@ -1,4 +1,4 @@ -/* Copyright 2024 The diffren Authors. +/* Copyright 2026 The diffren Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/diffren/jax/internal/kernels/rasterize_triangles_gpu.cc b/diffren/jax/internal/kernels/rasterize_triangles_gpu.cc index 1ca00fa..0765d67 100644 --- a/diffren/jax/internal/kernels/rasterize_triangles_gpu.cc +++ b/diffren/jax/internal/kernels/rasterize_triangles_gpu.cc @@ -1,4 +1,4 @@ -/* Copyright 2024 The diffren Authors. +/* Copyright 2026 The diffren Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/diffren/jax/internal/kernels/rasterize_triangles_xla.py b/diffren/jax/internal/kernels/rasterize_triangles_xla.py index 92b1345..77ecb4e 100644 --- a/diffren/jax/internal/kernels/rasterize_triangles_xla.py +++ b/diffren/jax/internal/kernels/rasterize_triangles_xla.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/internal/kernels/rasterize_triangles_xla_test.py b/diffren/jax/internal/kernels/rasterize_triangles_xla_test.py index b256561..9812ea5 100644 --- a/diffren/jax/internal/kernels/rasterize_triangles_xla_test.py +++ b/diffren/jax/internal/kernels/rasterize_triangles_xla_test.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/internal/rasterize.py b/diffren/jax/internal/rasterize.py index 3c781df..9e33489 100644 --- a/diffren/jax/internal/rasterize.py +++ b/diffren/jax/internal/rasterize.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -162,7 +162,7 @@ def compute_single_pixel_coordinates(triangle_id, px, py): # Mask out barycentrics for background pixels. barycentric_coords = barycentric_coords * framebuffer.foreground_mask - return framebuffer.replace(barycentrics=barycentric_coords) + return framebuffer.replace(barycentrics=barycentric_coords) # pyrefly: ignore[missing-attribute] def normalized_pixel_coordinates(image_width, image_height): diff --git a/diffren/jax/internal/rasterize_test.py b/diffren/jax/internal/rasterize_test.py index 23f0575..4b9ba2b 100644 --- a/diffren/jax/internal/rasterize_test.py +++ b/diffren/jax/internal/rasterize_test.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/internal/splat.py b/diffren/jax/internal/splat.py index 43e719f..681df85 100644 --- a/diffren/jax/internal/splat.py +++ b/diffren/jax/internal/splat.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/internal/splat_test.py b/diffren/jax/internal/splat_test.py index 78340b0..7eddf36 100644 --- a/diffren/jax/internal/splat_test.py +++ b/diffren/jax/internal/splat_test.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -60,8 +60,8 @@ def test_two_triangle_layers(self): composite, _, normalized_layers = render.render_triangles( # pytype: disable=wrong-arg-types # jax-ndarray vertices, {'colors': colors}, - triangles, - None, + triangles, # pyrefly: ignore[bad-argument-type] + None, # pyrefly: ignore[bad-argument-type] image_width, image_height, lambda x: x['colors'], @@ -118,7 +118,7 @@ def render_inner( return render.render_triangles( # pytype: disable=wrong-arg-types # jax-ndarray vertices_slice, {'colors': attributes_slice}, triangles, - None, + None, # pyrefly: ignore[bad-argument-type] image_width, image_height, lambda x: x['colors'], diff --git a/diffren/jax/render.py b/diffren/jax/render.py index 661c993..aea79d0 100644 --- a/diffren/jax/render.py +++ b/diffren/jax/render.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/render_test.py b/diffren/jax/render_test.py index 924dfe5..ebcdc7e 100644 --- a/diffren/jax/render_test.py +++ b/diffren/jax/render_test.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -90,8 +90,8 @@ def render_for_vmap(v, a, t, p): face_culling_mode=constants.FaceCullingMode.NONE, compositing_mode=constants.CompositingMode.OVER) - rendered = jax.vmap(render_for_vmap, in_axes)(vertices, attributes, - triangles, self.projection) + rendered = jax.vmap(render_for_vmap, in_axes)(vertices, attributes, # pyrefly: ignore[unbound-name] + triangles, self.projection) # pyrefly: ignore[unbound-name] for i in (0, 1): test_utils.check_image(self, np.array(rendered[i, :, :, :]), diff --git a/diffren/jax/utils/__init__.py b/diffren/jax/utils/__init__.py index 3c71021..8f06f39 100644 --- a/diffren/jax/utils/__init__.py +++ b/diffren/jax/utils/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/utils/depthmap.py b/diffren/jax/utils/depthmap.py index 08dd78e..ee833f5 100644 --- a/diffren/jax/utils/depthmap.py +++ b/diffren/jax/utils/depthmap.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/utils/depthmap_test.py b/diffren/jax/utils/depthmap_test.py index fa3a2df..13a6ac7 100644 --- a/diffren/jax/utils/depthmap_test.py +++ b/diffren/jax/utils/depthmap_test.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/utils/image.py b/diffren/jax/utils/image.py index d052511..2d29e66 100644 --- a/diffren/jax/utils/image.py +++ b/diffren/jax/utils/image.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/utils/image_test.py b/diffren/jax/utils/image_test.py index c5c2a21..109ebba 100644 --- a/diffren/jax/utils/image_test.py +++ b/diffren/jax/utils/image_test.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/utils/mesh.py b/diffren/jax/utils/mesh.py index 26f8659..0edf7e6 100644 --- a/diffren/jax/utils/mesh.py +++ b/diffren/jax/utils/mesh.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/utils/mesh_test.py b/diffren/jax/utils/mesh_test.py index d3172cb..ee9cdf6 100644 --- a/diffren/jax/utils/mesh_test.py +++ b/diffren/jax/utils/mesh_test.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/utils/shaders.py b/diffren/jax/utils/shaders.py index fee5b86..071730c 100644 --- a/diffren/jax/utils/shaders.py +++ b/diffren/jax/utils/shaders.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/utils/shaders_test.py b/diffren/jax/utils/shaders_test.py index 67d1703..b3501c2 100644 --- a/diffren/jax/utils/shaders_test.py +++ b/diffren/jax/utils/shaders_test.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/utils/transforms.py b/diffren/jax/utils/transforms.py index 8d220cb..b990c7c 100644 --- a/diffren/jax/utils/transforms.py +++ b/diffren/jax/utils/transforms.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/diffren/jax/utils/transforms_test.py b/diffren/jax/utils/transforms_test.py index 9e72341..abfbc18 100644 --- a/diffren/jax/utils/transforms_test.py +++ b/diffren/jax/utils/transforms_test.py @@ -1,4 +1,4 @@ -# Copyright 2024 The diffren Authors. +# Copyright 2026 The diffren Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.