Home
last modified time | relevance | path

Searched refs:const_data (Results 1 – 21 of 21) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dbranch_culling.cc203 tensor::TensorPtr const_data; member
208 inline tensor::TensorPtr GetConstData() { return MergeNetOutput.const_data; } in GetConstData()
209 inline void SetConstData(const tensor::TensorPtr &const_value) { MergeNetOutput.const_data = const_… in SetConstData()
227 tensor::TensorPtr const_data = std::make_shared<tensor::Tensor>(kInt64->type_id(), shp); in ConstData() local
228 auto *val = static_cast<int64_t *>(const_data->data_c()); in ConstData()
230 return const_data; in ConstData()
234 const tensor::TensorPtr &const_data) { in SquareOp() argument
238 auto ctrl_data = NewValueNode(const_data); in SquareOp()
248 const tensor::TensorPtr &const_data, const CNodePtr &square_op) { in MergeNode() argument
251 auto oppsite_ctrl_data = NewValueNode(const_data); in MergeNode()
[all …]
/third_party/mindspore/mindspore/core/ir/
Dtensor.h60 virtual const void *const_data() const = 0;
67 auto this_data = static_cast<const uint8_t *>(const_data()); in equals()
68 auto other_data = static_cast<const uint8_t *>(other.const_data()); in equals()
Dtensor.cc218 const void *const_data() const override { in const_data() function in mindspore::tensor::TensorDataImpl
/third_party/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp694 ir_constant_data const_data; in emit_texenv() local
696 const_data.f[0] = float(1 << rgb_shift); in emit_texenv()
697 const_data.f[1] = float(1 << rgb_shift); in emit_texenv()
698 const_data.f[2] = float(1 << rgb_shift); in emit_texenv()
699 const_data.f[3] = float(1 << alpha_shift); in emit_texenv()
702 &const_data); in emit_texenv()
/third_party/boost/boost/iostreams/device/
Dmapped_file.hpp309 const char* const_data() const { return delegate_.data(); } in const_data() function in boost::iostreams::mapped_file
311 const_iterator const_begin() const { return const_data(); } in const_begin()
313 const_iterator const_end() const { return const_data() + size(); } in const_end()
/third_party/ffmpeg/libavutil/aarch64/
Dasm.S75 .const_data
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dconstants.cpp412 std::vector<uint32_t> const_data(first_word, in GetNumericVectorConstantWithWords() local
415 GetConstant(element_type, const_data); in GetNumericVectorConstantWithWords()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconstants.cpp412 std::vector<uint32_t> const_data(first_word, in GetNumericVectorConstantWithWords() local
415 GetConstant(element_type, const_data); in GetNumericVectorConstantWithWords()
/third_party/boost/libs/iostreams/test/
Dmapped_file_test.cpp40 memcpy(buf, mf.const_data(), chunk_size); in test_writeable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DMemoryBuffer.cpp206 return MFR.const_data() + (Offset - getLegalMapOffset(Offset)); in getStart()
/third_party/ffmpeg/libavutil/arm/
Dasm.S133 .const_data
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_context.h324 struct pipe_resource *const_data; member
Dcrocus_program.c2930 if (ish->const_data) { in crocus_delete_shader_state()
2931 pipe_resource_reference(&ish->const_data, NULL); in crocus_delete_shader_state()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DMemoryBuffer.cpp181 return MFR.const_data() + (Offset - getLegalMapOffset(Offset)); in getStart()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFileSystem.h718 const char *const_data() const;
/third_party/mindspore/mindspore/ccsrc/pybind_api/ir/
Dtensor_py.cc167 const void *const_data() const override { return buffer_.ptr; } in const_data() function in mindspore::tensor::TensorDataNumpy
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFileSystem.h1195 const char *const_data() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DPath.inc519 const char *mapped_file_region::const_data() const {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DPath.inc607 const char *mapped_file_region::const_data() const {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DPath.inc836 const char *mapped_file_region::const_data() const {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DPath.inc923 const char *mapped_file_region::const_data() const {