Mojo function
logsoftmax
logsoftmax[dtype: DType, simd_width: Int, rank: Int, static_shape: DimList, input_fn: fn[_simd_width: Int, _rank: Int](IndexList[_rank]) capturing -> SIMD[dtype, _simd_width], target: StringSlice[StaticConstantOrigin] = "cpu"](shape: IndexList[rank], output: NDBuffer[dtype, rank, origin, static_shape], axis: Int, context: DeviceContextPtr = DeviceContextPtr())
logsoftmax[dtype: DType, simd_width: Int, rank: Int, static_shape: DimList, target: StringSlice[StaticConstantOrigin] = "cpu"](input: NDBuffer[dtype, rank, origin, static_shape], output: NDBuffer[dtype, rank, origin, static_shape], axis: Int, context: DeviceContextPtr = DeviceContextPtr())
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!