namespace.rs 345 Bytes
Newer Older
1
// SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
3
4
5
6
7
8
9
// SPDX-License-Identifier: Apache-2.0

/// The global namespace for all models
pub const GLOBAL_NAMESPACE: &str = "dynamo";

pub fn is_global_namespace(namespace: &str) -> bool {
    namespace == GLOBAL_NAMESPACE || namespace.is_empty()
}