"use strict";(self.webpackChunkrspress_doc_template=self.webpackChunkrspress_doc_template||[]).push([["5164"],{9485:function(n,e,s){s.r(e);var i=s(85893),r=s(50065);function o(n){let e=Object.assign({h1:"h1",a:"a",pre:"pre",code:"code",span:"span",p:"p"},(0,r.ah)(),n.components);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(e.h1,{id:"nnfunctionalpoint_pillars_preprocess",children:[(0,i.jsx)(e.a,{className:"header-anchor","aria-hidden":"true",href:"#nnfunctionalpoint_pillars_preprocess",children:"#"}),"nn.functional.point_pillars_preprocess"]}),"\n",(0,i.jsx)(e.pre,{className:"code",children:(0,i.jsx)(e.pre,{className:"shiki css-variables has-line-number",style:{backgroundColor:"var(--shiki-color-background)"},tabIndex:"0",children:(0,i.jsxs)(e.code,{className:"language-python",meta:"",children:[(0,i.jsxs)(e.span,{className:"line line-number",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"horizon_plugin_pytorch"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"."}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"nn"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"."}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"functional"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"."}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"point_pillars_preprocess "}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"(points_list: List[Tensor], "})]}),"\n",(0,i.jsxs)(e.span,{className:"line line-number",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"pc_range: Tensor, voxel_size: Tensor, max_voxels: "}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"int"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:", max_points_per_voxel: "}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"int"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:", "})]}),"\n",(0,i.jsxs)(e.span,{className:"line line-number",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"use_max: "}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"bool"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:", norm_range: Tensor, norm_dims: Tensor)"})]}),"\n"]})})}),"\n",(0,i.jsx)(e.p,{children:"Preprocess PointPillars."}),"\n",(0,i.jsx)(e.p,{children:"Parameters:"}),"\n",(0,i.jsx)(e.p,{children:"points_list (List[Tensor]) \u2013 [(M1, ndim), (M2, ndim),\u2026], List of PointCloud data."}),"\n",(0,i.jsx)(e.p,{children:"pc_range (Tensor) \u2013 (6,), indicate voxel range, format: [x_min, y_min, z_min, x_max, y_max, z_max]"}),"\n",(0,i.jsx)(e.p,{children:"voxel_size (Tensor) \u2013 (3,), xyz, indicate voxel size."}),"\n",(0,i.jsx)(e.p,{children:"max_voxels (int) \u2013 Indicate maximum voxels."}),"\n",(0,i.jsx)(e.p,{children:"max_points_per_voxel (int) \u2013 Indicate maximum points contained in a voxel."}),"\n",(0,i.jsx)(e.p,{children:"use_max (bool) \u2013 Whether to use max_voxels, for deploy should be True."}),"\n",(0,i.jsx)(e.p,{children:"norm_range (Tensor) \u2013 Feature range, like [x_min, y_min, z_min, \u2026, x_max, y_max, z_max, \u2026]."}),"\n",(0,i.jsx)(e.p,{children:"norm_dims (Tensor) \u2013 Dims to do normalize."}),"\n",(0,i.jsx)(e.p,{children:"Returns: (features, coords), encoded feature and coordinates in (idx, z, y, x) format."}),"\n",(0,i.jsx)(e.p,{children:"Return type: (Tensor, Tensor)"})]})}function a(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:e}=Object.assign({},(0,r.ah)(),n.components);return e?(0,i.jsx)(e,Object.assign({},n,{children:(0,i.jsx)(o,n)})):o(n)}e.default=a,a.__RSPRESS_PAGE_META={},a.__RSPRESS_PAGE_META["latest%2Fzh%2Fguide%2Fplugin%2Fplugin_api_reference%2Fhorizon_operator%2Fhorizon_plugin_pytorch_nn_functional_point_pillars_preprocess.md"]={toc:[],title:"nn.functional.point_pillars_preprocess",frontmatter:{}}}}]);