Class ResponseMemory
Defined in File response_memory.hpp
Base Type
public morpheus::TensorMemory
(Class TensorMemory)
Derived Type
public morpheus::ResponseMemoryProbs
(Class ResponseMemoryProbs)
-
class ResponseMemory : public morpheus::TensorMemory
Output memory block holding the results of inference.
Subclassed by morpheus::ResponseMemoryProbs
Public Functions
-
ResponseMemory(TensorIndex count)
Construct a new Response Memory object.
- Parameters
count –
-
ResponseMemory(TensorIndex count, TensorMap &&tensors)
Construct a new Response Memory object.
- Parameters
count –
tensors –
-
bool has_output(const std::string &name) const
Checks if a tensor named
name
exists intensors
. Alias forhas_tensor
.- Parameters
- Returns
- Returns
name –
true
false
-
ResponseMemory(TensorIndex count)