Home
last modified time | relevance | path

Searched refs:attr_ (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Dresize.cc25 : GPUOperation(definition), attr_(attr) { in Resize()
26 code_ = GetResizeCode(definition_, attr_); in Resize()
30 : GPUOperation(std::move(operation)), attr_(operation.attr_) {} in Resize()
34 attr_ = operation.attr_; in operator =()
139 CalculateResizeScale(src_[0]->Width(), dst_[0]->Width(), attr_))); in BindArguments()
142 CalculateResizeScale(src_[0]->Height(), dst_[0]->Height(), attr_))); in BindArguments()
160 : GPUOperation(definition), attr_(attr) { in Resize3D()
161 code_ = GetResize3DCode(definition_, attr_); in Resize3D()
165 : GPUOperation(std::move(operation)), attr_(operation.attr_) {} in Resize3D()
169 attr_ = operation.attr_; in operator =()
[all …]
Dsplit.cc26 : GPUOperation(definition), attr_(attr) { in Split()
37 attr_.axis == Axis::WIDTH ? "1" : "args.src_tensor.Width()"; in GetSplitCode()
39 attr_.axis == Axis::HEIGHT ? "1" : "args.src_tensor.Height()"; in GetSplitCode()
41 attr_.axis == Axis::DEPTH ? "1" : "args.src_tensor.Depth()"; in GetSplitCode()
43 attr_.axis == Axis::BATCH ? "1" : "args.src_tensor.Batch()"; in GetSplitCode()
45 attr_.axis == Axis::CHANNELS ? "1" : "args.src_tensor.Slices()"; in GetSplitCode()
140 const int width = attr_.axis == Axis::WIDTH ? 1 : src_[0]->Width(); in GetGridSize()
141 const int height = attr_.axis == Axis::HEIGHT ? 1 : src_[0]->Height(); in GetGridSize()
142 const int depth = attr_.axis == Axis::DEPTH ? 1 : src_[0]->Depth(); in GetGridSize()
143 const int batch = attr_.axis == Axis::BATCH ? 1 : src_[0]->Batch(); in GetGridSize()
[all …]
Dresize.h47 Resize2DAttributes attr_; variable
73 Resize3DAttributes attr_; variable
Dsplit.h41 SplitAttributes attr_; variable
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dperception_ops_utils.h31 : func_(func), attr_(attr) {} in ConvertMaxUnpoolingFunc()
41 mlir::TF::FuncAttr attr_; variable
Dnms_utils.h51 : func_(func), attr_(attr) {} in ConvertSSDPostProcessFunc()
70 mlir::TF::FuncAttr attr_; variable
Dperception_ops_utils.cc106 auto attrs = attr_.GetAttrs(); in CreateCustomOptions()
Dnms_utils.cc93 if (failed(CreateNMSCustomOptions(func_, attr_.GetAttrs(), in RewriteFunc()
/external/tensorflow/tensorflow/compiler/jit/
Dnode_matchers.h103 const absl::optional<AttrKeyValuePair>& attr() const { return attr_; } in attr()
138 attr_ = std::move(attr); in set_attr()
153 absl::optional<AttrKeyValuePair> attr_; variable
/external/tensorflow/tensorflow/core/framework/
Dresource_mgr_test.cc238 attr_.set_name(name); in StubDevice()
245 const DeviceAttributes& attributes() const override { return attr_; } in attributes()
246 const string& name() const override { return attr_.name(); } in name()
249 DeviceAttributes attr_; member in tensorflow::StubDevice
/external/tensorflow/tensorflow/core/distributed_runtime/
Dtensor_coding_test.cc36 attr_.set_device_type("CPU"); in DummyDevice()
39 const DeviceAttributes& attributes() const override { return attr_; } in attributes()
46 DeviceAttributes attr_; member in tensorflow::DummyDevice
/external/llvm-project/flang/include/flang/Semantics/
Dtype.h99 bool isKind() const { return attr_ == common::TypeParamAttr::Kind; } in isKind()
100 bool isLen() const { return attr_ == common::TypeParamAttr::Len; } in isLen()
101 void set_attr(common::TypeParamAttr attr) { attr_ = attr; } in set_attr()
110 : category_{category}, attr_{attr} {} in ParamValue()
112 common::TypeParamAttr attr_{common::TypeParamAttr::Kind};
Dsymbol.h342 explicit TypeParamDetails(common::TypeParamAttr attr) : attr_{attr} {} in TypeParamDetails()
344 common::TypeParamAttr attr() const { return attr_; } in attr()
353 common::TypeParamAttr attr_;
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix_libcdep.cc307 void AdjustStackSize(void *attr_) { in AdjustStackSize() argument
308 pthread_attr_t *attr = (pthread_attr_t *)attr_; in AdjustStackSize()
/external/clang/test/SemaCXX/
Dwarn-unused-private-field.cpp120 int attr_ __attribute__((unused)); member in A
/external/llvm-project/clang/test/SemaCXX/
Dwarn-unused-private-field.cpp121 int attr_ __attribute__((unused)); member in A
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix_libcdep.cpp398 void AdjustStackSize(void *attr_) { in AdjustStackSize() argument
399 pthread_attr_t *attr = (pthread_attr_t *)attr_; in AdjustStackSize()
Dsanitizer_syscalls_netbsd.inc1897 (void *name_, long long oflag_, long long mode_, void *attr_) {
1904 (long long res, void *name_, long long oflag_, long long mode_, void *attr_) {
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dhandlers.h305 const upb_handlerattr& attr() const { return attr_; } in attr()
312 mutable upb_handlerattr attr_; variable
Dhandlers-inl.h865 attr_.handler_data = func.GetData();
878 attr_.alwaysok = always_ok;
881 attr_.closure_type = UniquePtrForType<typename F::FuncInfo::Closure>();
892 attr_.return_closure_type = UniquePtrForType<EffectiveReturn>();
/external/llvm-project/flang/lib/Semantics/
Dtype.cpp511 : attr_{attr}, expr_{std::move(expr)} {} in ParamValue()
513 : attr_{attr}, expr_{std::move(expr)} {} in ParamValue()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.h4720 mutable HandlerAttributes attr_;
5768 return upb_handlers_set##ltype(this, f, handler.handler_, &handler.attr_); \
5845 upb_handlerattr_sethandlerdata(&attr_, func.GetData());
5858 attr_.SetAlwaysOk(always_ok);
5861 attr_.SetClosureType(UniquePtrForType<typename F::FuncInfo::Closure>());
5872 attr_.SetReturnClosureType(UniquePtrForType<EffectiveReturn>());
5966 return upb_handlers_setstartmsg(this, handler.handler_, &handler.attr_);
5973 return upb_handlers_setendmsg(this, handler.handler_, &handler.attr_);
5980 return upb_handlers_setstartstr(this, f, handler.handler_, &handler.attr_);
5987 return upb_handlers_setendstr(this, f, handler.handler_, &handler.attr_);
[all …]
/external/protobuf/php/ext/google/protobuf/
Dupb.h4293 const upb_handlerattr& attr() const { return attr_; } in attr()
4300 mutable upb_handlerattr attr_; variable
5580 attr_.handler_data = func.GetData();
5593 attr_.alwaysok = always_ok;
5596 attr_.closure_type = UniquePtrForType<typename F::FuncInfo::Closure>();
5607 attr_.return_closure_type = UniquePtrForType<EffectiveReturn>();