Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for resize_nearest_neighbor (0.35 sec)

  1. tensorflow/cc/gradients/image_grad_test.cc

                  Output* x, Output* y) {
        *x = Const<T>(scope_, x_data);
        switch (op_type) {
          case RESIZE_NEAREST:
            *y = ResizeNearestNeighbor(
                scope_, *x, y_shape,
                ResizeNearestNeighbor::AlignCorners(align_corners));
            return;
          case RESIZE_BILINEAR:
            *y = ResizeBilinear(scope_, *x, y_shape,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 15 04:08:05 UTC 2019
    - 12.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    }
    
    def TFL_ResizeNearestNeighborOp : TFL_Op<"resize_nearest_neighbor", [
        Pure,
        QuantizableResult,
        PredOpTrait<"input and output must have same element type",
          TFL_TCresVTEtIsSameAsOp<0, 0>>,
        TFL_OperandHasRank<0, 4>,
        TFL_OperandHasRank<1, 1>,
        SameOperandsAndResultsScale]> {
      let summary = "ResizeNearestNeighbor Op";
    
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  3. tensorflow/cc/gradients/image_grad.cc

          internal::ResizeNearestNeighborGrad::AlignCorners(align_corners)
              .HalfPixelCenters(half_pixel_centers)));
      grad_outputs->push_back(NoGradient());
      return scope.status();
    }
    REGISTER_GRADIENT_OP("ResizeNearestNeighbor", ResizeNearestNeighborGradHelper);
    
    Status ResizeBilinearGradHelper(const Scope& scope, const Operation& op,
                                    const std::vector<Output>& grad_inputs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 11 00:29:23 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/ops.mlir

    ^bb0(%arg0: tensor<? x ? x ? x ? x !quant.uniform<u8:f32, 0.1>>, %arg1: tensor<? x i32>):
      %0 = "tfl.resize_nearest_neighbor"(%arg0, %arg1) { align_corners = false, half_pixel_centers = false } : (tensor<? x ? x ? x ? x !quant.uniform<u8:f32, 0.1>>, tensor<? x i32>) -> tensor<? x !quant.uniform<u8:f32, 0.1>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc

                          llvm::cl::Optional, llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    opt<bool> skip_resize(
        "skip-resize",
        llvm::cl::desc(
            "Skip converting tf.ResizeBilinear and tf.ResizeNearestNeighbor ops."),
        llvm::cl::Optional, llvm::cl::init(true));
    
    // NOLINTNEXTLINE
    opt<bool> smuggle_disallowed_ops(
        "smuggle-disallowed-ops",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/compilability_check_util.cc

      // b/135640736: MatrixInverse performance issues.
      // b/111271662: MatrixSolve performance issues.
      // https://github.com/tensorflow/tensorflow/pull/31012:
      //    ResizeNearestNeighbor, ResizeBilinear, and ResizeBilinearGrad sometimes
      //    create convolutions too large for CuDNN to handle.
      return node.type_string() == "SelfAdjointEigV2" ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

      // CHECK: [[VAL5:%.+]] = "tf.GatherV2"([[VAL4]], [[VAL3]], [[VAL0]]) <{batch_dims = 0 : i64}>
      // CHECK: [[VAL6:%.+]] = "tf.Reshape"([[VAL5]], [[VAL1]])
      // CHECK: return [[VAL6]]
      %resize = "tf.ResizeNearestNeighbor"(%arg0, %shape) {align_corners = false, device = "", half_pixel_centers = false} : (tensor<1x7x7x1xi32>, tensor<2xi32>) -> tensor<1x3x3x1xi32>
      func.return %resize: tensor<1x3x3x1xi32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/schema/schema_generated.h

        "LOGICAL_NOT",
        "UNPACK",
        "REDUCE_MIN",
        "FLOOR_DIV",
        "REDUCE_ANY",
        "SQUARE",
        "ZEROS_LIKE",
        "FILL",
        "FLOOR_MOD",
        "RANGE",
        "RESIZE_NEAREST_NEIGHBOR",
        "LEAKY_RELU",
        "SQUARED_DIFFERENCE",
        "MIRROR_PAD",
        "ABS",
        "SPLIT_V",
        "UNIQUE",
        "CEIL",
        "REVERSE_V2",
        "ADD_N",
        "GATHER_ND",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

          Operation *op = rewriter.create(state);
          result = op->getResult(0);
        }
        rewriter.replaceOp(op, {result});
        return success();
      }
    };
    
    // Lowers ResizeNearestNeighbor to an indices computations with a gather along
    // the combined spatial dimensions. Generating the indices along the
    // width/height index could be used to gather along each of W and H dimension
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/mark_for_compilation_pass.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top