onnxruntime/docs/api/java/ai/onnxruntime/OnnxSparseTensor.html
github-actions[bot] 89eb6eb488
[Automated]: Update Java API docs (#14426)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: fs-eire <fs-eire@users.noreply.github.com>
2023-01-26 15:42:09 -08:00

601 lines
23 KiB
HTML

<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>OnnxSparseTensor (onnxruntime 1.15.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../jquery/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="../../jquery/jquery-ui.min.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="OnnxSparseTensor (onnxruntime 1.15.0 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">ai.onnxruntime</a></div>
<h2 title="Class OnnxSparseTensor" class="title">Class OnnxSparseTensor</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="OnnxTensorLike.html" title="class in ai.onnxruntime">ai.onnxruntime.OnnxTensorLike</a></li>
<li>
<ul class="inheritance">
<li>ai.onnxruntime.OnnxSparseTensor</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="OnnxValue.html" title="interface in ai.onnxruntime">OnnxValue</a></code>, <code>java.lang.AutoCloseable</code></dd>
</dl>
<hr>
<pre>public final class <span class="typeNameLabel">OnnxSparseTensor</span>
extends <a href="OnnxTensorLike.html" title="class in ai.onnxruntime">OnnxTensorLike</a></pre>
<div class="block">A Java object wrapping an OnnxSparseTensor.
<p>Sparse tensors support a variety of formats, and the <a href="#getValue()"><code>getValue()</code></a> method returns a
different static inner class representing each type.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OnnxSparseTensor.BlockSparseTensor.html" title="class in ai.onnxruntime">OnnxSparseTensor.BlockSparseTensor</a></span></code></th>
<td class="colLast">
<div class="block">The Java side representation of a block sparse tensor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OnnxSparseTensor.COOTensor.html" title="class in ai.onnxruntime">OnnxSparseTensor.COOTensor</a></span></code></th>
<td class="colLast">
<div class="block">The Java side representation of a COO sparse tensor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OnnxSparseTensor.CSRCTensor.html" title="class in ai.onnxruntime">OnnxSparseTensor.CSRCTensor</a></span></code></th>
<td class="colLast">
<div class="block">The Java side representation of a CSRC sparse tensor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OnnxSparseTensor.SparseTensor.html" title="class in ai.onnxruntime">OnnxSparseTensor.SparseTensor</a>&lt;<a href="OnnxSparseTensor.SparseTensor.html" title="type parameter in OnnxSparseTensor.SparseTensor">T</a> extends java.nio.Buffer&gt;</span></code></th>
<td class="colLast">
<div class="block">Abstract base class for Java sparse tensors</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OnnxSparseTensor.SparseTensorType.html" title="enum in ai.onnxruntime">OnnxSparseTensor.SparseTensorType</a></span></code></th>
<td class="colLast">
<div class="block">The type of the sparse tensor.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.ai.onnxruntime.OnnxValue">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;ai.onnxruntime.<a href="OnnxValue.html" title="interface in ai.onnxruntime">OnnxValue</a></h3>
<code><a href="OnnxValue.OnnxValueType.html" title="enum in ai.onnxruntime">OnnxValue.OnnxValueType</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.ai.onnxruntime.OnnxTensorLike">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;ai.onnxruntime.<a href="OnnxTensorLike.html" title="class in ai.onnxruntime">OnnxTensorLike</a></h3>
<code><a href="OnnxTensorLike.html#allocatorHandle">allocatorHandle</a>, <a href="OnnxTensorLike.html#info">info</a>, <a href="OnnxTensorLike.html#nativeHandle">nativeHandle</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#close()">close</a></span>()</code></th>
<td class="colLast">
<div class="block">Closes the OnnxValue, freeing it's native memory.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static &lt;T extends java.nio.Buffer&gt;<br><a href="OnnxSparseTensor.html" title="class in ai.onnxruntime">OnnxSparseTensor</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSparseTensor(ai.onnxruntime.OrtEnvironment,ai.onnxruntime.OnnxSparseTensor.SparseTensor)">createSparseTensor</a></span>&#8203;(<a href="OrtEnvironment.html" title="class in ai.onnxruntime">OrtEnvironment</a>&nbsp;env,
<a href="OnnxSparseTensor.SparseTensor.html" title="class in ai.onnxruntime">OnnxSparseTensor.SparseTensor</a>&lt;T&gt;&nbsp;tensor)</code></th>
<td class="colLast">
<div class="block">Creates a Sparse Tensor in ORT from the Java side representation.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.nio.Buffer</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIndicesBuffer()">getIndicesBuffer</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a copy of the indices.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>long[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIndicesShape()">getIndicesShape</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the shape of the (outer) indices.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.nio.LongBuffer</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInnerIndicesBuffer()">getInnerIndicesBuffer</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a copy of the inner indices in a CSRC sparse tensor.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>long[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInnerIndicesShape()">getInnerIndicesShape</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the shape of the inner indices in a CSRC sparse tensor.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="OnnxSparseTensor.SparseTensorType.html" title="enum in ai.onnxruntime">OnnxSparseTensor.SparseTensorType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSparseTensorType()">getSparseTensorType</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the type of this OnnxSparseTensor.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="OnnxValue.OnnxValueType.html" title="enum in ai.onnxruntime">OnnxValue.OnnxValueType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getType()">getType</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the type of this OnnxValue.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="OnnxSparseTensor.SparseTensor.html" title="class in ai.onnxruntime">OnnxSparseTensor.SparseTensor</a>&lt;? extends java.nio.Buffer&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getValue()">getValue</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the value as a Java object copying it out of the native heap.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.nio.Buffer</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getValuesBuffer()">getValuesBuffer</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a copy of the data buffer.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>long[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getValuesShape()">getValuesShape</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the shape of the values.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.ai.onnxruntime.OnnxTensorLike">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;ai.onnxruntime.<a href="OnnxTensorLike.html" title="class in ai.onnxruntime">OnnxTensorLike</a></h3>
<code><a href="OnnxTensorLike.html#getInfo()">getInfo</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="createSparseTensor(ai.onnxruntime.OrtEnvironment,ai.onnxruntime.OnnxSparseTensor.SparseTensor)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSparseTensor</h4>
<pre class="methodSignature">public static&nbsp;&lt;T extends java.nio.Buffer&gt;&nbsp;<a href="OnnxSparseTensor.html" title="class in ai.onnxruntime">OnnxSparseTensor</a>&nbsp;createSparseTensor&#8203;(<a href="OrtEnvironment.html" title="class in ai.onnxruntime">OrtEnvironment</a>&nbsp;env,
<a href="OnnxSparseTensor.SparseTensor.html" title="class in ai.onnxruntime">OnnxSparseTensor.SparseTensor</a>&lt;T&gt;&nbsp;tensor)
throws <a href="OrtException.html" title="class in ai.onnxruntime">OrtException</a></pre>
<div class="block">Creates a Sparse Tensor in ORT from the Java side representation.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - The buffer type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>env</code> - The OrtEnvironment.</dd>
<dd><code>tensor</code> - The Java side representation.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The sparse tensor in ORT.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="OrtException.html" title="class in ai.onnxruntime">OrtException</a></code> - If the tensor could not be created or was invalid.</dd>
</dl>
</li>
</ul>
<a id="getType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre class="methodSignature">public&nbsp;<a href="OnnxValue.OnnxValueType.html" title="enum in ai.onnxruntime">OnnxValue.OnnxValueType</a>&nbsp;getType()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="OnnxValue.html#getType()">OnnxValue</a></code></span></div>
<div class="block">Gets the type of this OnnxValue.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The value type.</dd>
</dl>
</li>
</ul>
<a id="getValue()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
<pre class="methodSignature">public&nbsp;<a href="OnnxSparseTensor.SparseTensor.html" title="class in ai.onnxruntime">OnnxSparseTensor.SparseTensor</a>&lt;? extends java.nio.Buffer&gt;&nbsp;getValue()
throws <a href="OrtException.html" title="class in ai.onnxruntime">OrtException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="OnnxValue.html#getValue()">OnnxValue</a></code></span></div>
<div class="block">Returns the value as a Java object copying it out of the native heap. This operation can be
quite slow for high dimensional tensors, where you should prefer <a href="OnnxTensor.html#getByteBuffer()"><code>OnnxTensor.getByteBuffer()</code></a> etc.
<p>Overridden by the subclasses with a more specific type if available.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The value.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="OrtException.html" title="class in ai.onnxruntime">OrtException</a></code> - If an error occurred reading the value.</dd>
</dl>
</li>
</ul>
<a id="close()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;close()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="OnnxValue.html#close()">OnnxValue</a></code></span></div>
<div class="block">Closes the OnnxValue, freeing it's native memory.</div>
</li>
</ul>
<a id="getSparseTensorType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSparseTensorType</h4>
<pre class="methodSignature">public&nbsp;<a href="OnnxSparseTensor.SparseTensorType.html" title="enum in ai.onnxruntime">OnnxSparseTensor.SparseTensorType</a>&nbsp;getSparseTensorType()</pre>
<div class="block">Returns the type of this OnnxSparseTensor.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The sparsity type.</dd>
</dl>
</li>
</ul>
<a id="getIndicesBuffer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIndicesBuffer</h4>
<pre class="methodSignature">public&nbsp;java.nio.Buffer&nbsp;getIndicesBuffer()</pre>
<div class="block">Gets a copy of the indices.
<p>These are the outer indices if it's a CSRC sparse tensor.
<p>It's a <code>LongBuffer</code> if COO or CSRC, and <code>IntBuffer</code> if Block Sparse.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The indices.</dd>
</dl>
</li>
</ul>
<a id="getInnerIndicesBuffer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInnerIndicesBuffer</h4>
<pre class="methodSignature">public&nbsp;java.nio.LongBuffer&nbsp;getInnerIndicesBuffer()</pre>
<div class="block">Gets a copy of the inner indices in a CSRC sparse tensor.
<p>Throws <code>IllegalStateException</code> if called on a different sparse tensor type.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The inner indices.</dd>
</dl>
</li>
</ul>
<a id="getValuesBuffer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValuesBuffer</h4>
<pre class="methodSignature">public&nbsp;java.nio.Buffer&nbsp;getValuesBuffer()</pre>
<div class="block">Gets a copy of the data buffer.
<p>As with <a href="OnnxTensor.html" title="class in ai.onnxruntime"><code>OnnxTensor</code></a> fp16 values are upcast into fp32 and returned as a <code>FloatBuffer</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The data buffer.</dd>
</dl>
</li>
</ul>
<a id="getIndicesShape()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIndicesShape</h4>
<pre class="methodSignature">public&nbsp;long[]&nbsp;getIndicesShape()</pre>
<div class="block">Gets the shape of the (outer) indices.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The indices shape.</dd>
</dl>
</li>
</ul>
<a id="getInnerIndicesShape()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInnerIndicesShape</h4>
<pre class="methodSignature">public&nbsp;long[]&nbsp;getInnerIndicesShape()</pre>
<div class="block">Gets the shape of the inner indices in a CSRC sparse tensor.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The indices shape.</dd>
</dl>
</li>
</ul>
<a id="getValuesShape()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getValuesShape</h4>
<pre class="methodSignature">public&nbsp;long[]&nbsp;getValuesShape()</pre>
<div class="block">Gets the shape of the values.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The values shape.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>