sigmoid(with:name:)
Computes the sigmoid operation on an input tensor.
Declaration
func sigmoid(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorParameters
- tensor:
The input tensor.
- name:
The name for the operation.
Return Value
A valid MPSGraphTensor object.