MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / make_float32_values

Function make_float32_values

tests/test_selection_rasterization_ops.cpp:34–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 }
33
34 Tensor make_float32_values(const std::vector<float>& values, const lfs::core::TensorShape& shape) {
35 return Tensor::from_vector(values, shape, Device::CUDA).to(DataType::Float32);
36 }
37
38 std::vector<uint8_t> run_group_apply(const std::vector<uint8_t>& selection_values,
39 const std::vector<uint8_t>& existing_values,

Callers 1

TEST_FFunction · 0.85

Calls 2

from_vectorFunction · 0.85
toMethod · 0.45

Tested by

no test coverage detected