MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / make_safe

Function make_safe

tensorflow/python/lib/core/safe_ptr.cc:20–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18namespace tensorflow {
19
20Safe_PyObjectPtr make_safe(PyObject* object) {
21 return Safe_PyObjectPtr(object);
22}
23
24Safe_TF_TensorPtr make_safe(TF_Tensor* tensor) {
25 return Safe_TF_TensorPtr(tensor);

Callers 15

PyBytesArrayMapFunction · 0.70
TF_TensorToPyArrayFunction · 0.70
PyArrayToTF_TensorFunction · 0.70
NdarrayToTensorFunction · 0.70
TensorToNdarrayFunction · 0.70
PyReprFunction · 0.70
InferShapeAndTypeFunction · 0.70
py_seq_tensor.ccFile · 0.70
ConvertOneInt64Function · 0.70
ConvertOneUint64Function · 0.70
ConvertOneInt32Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected