---
title: "fromBlobStrided"
sidebar_label: "fromBlobStrided"
description: "Kotlin binding reference: fromBlobStrided."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Tensors](index.md)/[fromBlobStrided](fromBlobStrided.md)

# fromBlobStrided

[common]\
fun [fromBlobStrided](fromBlobStrided.md)(buffer: &lt;Error class: unknown class&gt;, shape: [LongArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long-array/index.html), strides: [LongArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long-array/index.html), dtype: [DType](../DType/index.md) = DType.FLOAT32, where: [Placement](../Placement/index.md)? = null, deleter: [VoidCallback](../VoidCallback/index.md)? = null): [Tensor](../Tensor/index.md)

[fromBlob](fromBlob.md) over a strided layout: [strides](fromBlobStrided.md) are element strides per dimension (a region of a larger row-major image keeps the image's row pitch as its row stride). [buffer](fromBlobStrided.md)'s position 0 is the first element (`slice()` a buffer to start elsewhere).