From 8e4f26b2535319e8146635f97a85cbbd91f65d5e Mon Sep 17 00:00:00 2001 From: harshaljanjani Date: Tue, 6 Jan 2026 09:21:00 +0530 Subject: [PATCH] chore: Remove deprecated schedules/inject.py stub file --- optax/schedules/inject.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 optax/schedules/inject.py diff --git a/optax/schedules/inject.py b/optax/schedules/inject.py deleted file mode 100644 index 65a56f2aa..000000000 --- a/optax/schedules/inject.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2019 DeepMind Technologies Limited. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ============================================================================== -"""Import stub.""" - -# TODO(mtthss): delete this file asap. - -from optax.schedules import _inject - -InjectHyperparamsState = _inject.InjectHyperparamsState -inject_hyperparams = _inject.inject_hyperparams