Home
last modified time | relevance | path

Searched refs:MirrorPadMode (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dmirror_pad_op.cc34 const MirrorPadMode mode, in DoMirrorPad()
41 int64 excluded_edges = mode == MirrorPadMode::REFLECT ? 1 : 0; in DoMirrorPad()
70 MirrorPadMode mode; in Compile()
73 ctx, mode == MirrorPadMode::REFLECT || mode == MirrorPadMode::SYMMETRIC, in Compile()
120 const xla::LiteralSlice& pad_literal, const MirrorPadMode mode, in DoMirrorPadGrad()
127 int64 excluded_edges = mode == MirrorPadMode::REFLECT ? 1 : 0; in DoMirrorPadGrad()
169 MirrorPadMode mode; in Compile()
172 ctx, mode == MirrorPadMode::REFLECT || mode == MirrorPadMode::SYMMETRIC, in Compile()
/external/tensorflow/tensorflow/core/util/
Dmirror_pad_mode.cc25 MirrorPadMode* value) { in GetNodeAttr()
29 *value = MirrorPadMode::REFLECT; in GetNodeAttr()
31 *value = MirrorPadMode::SYMMETRIC; in GetNodeAttr()
Dmirror_pad_mode.h34 enum class MirrorPadMode { enum
48 MirrorPadMode* value);
/external/tensorflow/tensorflow/core/kernels/image/
Dmirror_pad_op.cc42 MirrorPadMode mode; in MirrorPadOp()
46 case MirrorPadMode::SYMMETRIC: { in MirrorPadOp()
50 case MirrorPadMode::REFLECT: { in MirrorPadOp()
253 MirrorPadMode mode; in MirrorPadGradOp()
257 case MirrorPadMode::SYMMETRIC: { in MirrorPadGradOp()
261 case MirrorPadMode::REFLECT: { in MirrorPadGradOp()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_operator.cc89 static tflite::MirrorPadMode ConvertTFL_MirrorPaddingAttrForOptionWriter( in ConvertTFL_MirrorPaddingAttrForOptionWriter()
91 return llvm::StringSwitch<tflite::MirrorPadMode>(str) in ConvertTFL_MirrorPaddingAttrForOptionWriter()
227 static mlir::Attribute BuildTFL_MirrorPaddingAttr(tflite::MirrorPadMode value, in BuildTFL_MirrorPaddingAttr()
/external/tensorflow/tensorflow/lite/tools/serialization/
Denum_mapping.h131 inline MirrorPadMode MirrorPaddingModeToSchema(TfLiteMirrorPaddingMode mode) { in MirrorPaddingModeToSchema()
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/
Dmirror_pad_test.cc27 const TensorData& output, const tflite::MirrorPadMode mode) { in MirrorPadOpModel()
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_fused_image_transform.cc616 MirrorPadMode mode; in FusedResizeConv2DUsingGemmOp()
620 case MirrorPadMode::SYMMETRIC: { in FusedResizeConv2DUsingGemmOp()
624 case MirrorPadMode::REFLECT: { in FusedResizeConv2DUsingGemmOp()
/external/tensorflow/tensorflow/lite/kernels/
Dmirror_pad_test.cc33 const tflite::MirrorPadMode mode) { in BaseMirrorPadOpModel()
/external/tensorflow/tensorflow/lite/toco/tflite/
Doperator.cc1503 *builder, op.mode == MirrorPadMode::kReflect in WriteOptions()
1504 ? ::tflite::MirrorPadMode::MirrorPadMode_REFLECT in WriteOptions()
1505 : ::tflite::MirrorPadMode::MirrorPadMode_SYMMETRIC); in WriteOptions()
1509 op->mode = options.mode() == ::tflite::MirrorPadMode::MirrorPadMode_REFLECT in ReadOptions()
1510 ? MirrorPadMode::kReflect in ReadOptions()
1511 : MirrorPadMode::kSymmetric; in ReadOptions()
Doperator_test.cc748 op.mode = MirrorPadMode::kReflect; in TEST_F()
/external/tensorflow/tensorflow/lite/toco/
Dmodel.h2084 enum class MirrorPadMode { kNone, kSymmetric, kReflect };
2098 MirrorPadMode mode;
Dimport_tensorflow.cc1432 op->mode = toco::MirrorPadMode::kReflect; in ConvertMirrorPadOperator()
1434 op->mode = toco::MirrorPadMode::kSymmetric; in ConvertMirrorPadOperator()
/external/tensorflow/tensorflow/lite/schema/
Dschema_v3a.fbs910 enum MirrorPadMode : byte {
918 mode:MirrorPadMode;
Dschema.fbs938 enum MirrorPadMode : byte {
946 mode:MirrorPadMode;
Dschema_generated.h2977 enum MirrorPadMode {
2984 inline const MirrorPadMode (&EnumValuesMirrorPadMode())[2] {
2985 static const MirrorPadMode values[] = {
3001 inline const char *EnumNameMirrorPadMode(MirrorPadMode e) {
8720 tflite::MirrorPadMode mode;
8731 tflite::MirrorPadMode mode() const {
8732 return static_cast<tflite::MirrorPadMode>(GetField<int8_t>(VT_MODE, 0));
8747 void add_mode(tflite::MirrorPadMode mode) {
8764 tflite::MirrorPadMode mode = tflite::MirrorPadMode_REFLECT) {
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/
Dtest_schema.fbs901 enum MirrorPadMode : byte {
909 mode:MirrorPadMode;