text string | label_name string | labels int64 |
|---|---|---|
::impl_dyn_hash!(GlobalAvgPool);
impl Expansion for GlobalAvgPool {
fn name(&self) -> Cow<str> {
"GlobalAvgPool".into()
}
op_hir!();
fn rules<'r, 'p: 'r, 's: 'r>(
&'s self,
solver: &mut Solver<'r>,
inputs: &'p [TensorProxy],
outputs: &'p [TensorProxy],
) ->... | Rust | 0 |
});
/// ~~~
pub fn with_window_mode<T, F>(&self, f: F) -> T
where
F: FnOnce(WindowMode<'_>) -> T,
{
let ptr = unsafe { ffi::glfwGetWindowMonitor(self.ptr) };
if ptr.is_null() {
f(WindowMode::Windowed)
} else {
f(WindowMode::FullScreen(&Monitor { pt... | Rust | 0 |
}
MaterialVariants::Lambertian(albedo) => lambertian_scatter(normal, point, albedo),
MaterialVariants::Dielectric(ref_idx) => {
dielectric_scatter(incoming_ray, normal, point, face, *ref_idx)
}
}
}
}
<filename>src/test/run-make-fulldeps/std-co... | Rust | 0 |
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
__title__ = "openai"
__version__ = "1.82.1" # x-release-please-version
| Python | 1 |
def __getattr__(name: str = "") -> None:
"""Raise an error on import since is deprecated."""
msg = (
"This module has been moved to langchain-experimental. "
"For more details: https://github.com/langchain-ai/langchain/discussions/11352."
"To access this code, install it with `pip instal... | Python | 1 |
('loc_E6DA')
SetScenaFlags(ScenaFlag(0x0888, 0, 0x4440))
def _loc_E6DD(): pass
label('loc_E6DD')
SetScenaFlags(ScenaFlag(0x0887, 7, 0x443F))
SetScenaFlags(ScenaFlag(0x08A1, 1, 0x4509))
QuestCmd(0x0025, 0x03, 0x01, 0x02)
Jump('loc_E6EE')
def _loc_E6EE(): pass
label('loc_E6EE')
... | Python | 1 |