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

Method full

src/python/lfs/py_tensor.cpp:1463–1467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1461 }
1462
1463 PyTensor PyTensor::full(const std::vector<int64_t>& shape, float value,
1464 const std::string& device,
1465 const std::string& dtype) {
1466 return PyTensor(Tensor::full(to_tensor_shape(shape), value, parse_device(device), parse_dtype(dtype)));
1467 }
1468
1469 PyTensor PyTensor::arange(float end) {
1470 return PyTensor(Tensor::arange(end));

Callers 5

_nan_tensorMethod · 0.45
_plot_vignettingFunction · 0.45
test_fullMethod · 0.45

Calls 5

PyTensorClass · 0.85
fullFunction · 0.85
to_tensor_shapeFunction · 0.85
parse_deviceFunction · 0.85
parse_dtypeFunction · 0.85

Tested by 1

test_fullMethod · 0.36