Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,195 for SplitV (0.22 sec)

  1. tensorflow/compiler/mlir/tfr/examples/pad/ops_defs.py

          left_padding, _ = tf.raw_ops.SplitV(
              value=rarray,
              size_splits=[left_padding_size, -1],
              axis=i,
              num_split=2)
          _, right_padding = tf.raw_ops.SplitV(
              value=rarray,
              size_splits=[-1, right_padding_size],
              axis=i,
              num_split=2)
        else:
          _, left_padding = tf.raw_ops.SplitV(
              value=rarray,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 01 05:00:29 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir

    // CHECK-DAG:       [[VAL_11:%.*]] = "tf.Const"() <{value = dense<0> : tensor<i32>}> : () -> tensor<i32>
    // CHECK:           [[VAL_12:%.*]]:4 = "tf.SplitV"([[VAL_7]], [[VAL_10]], [[VAL_11]]) : (tensor<40x8xf32>, tensor<4xi32>, tensor<i32>) -> (tensor<10x8xf32>, tensor<10x8xf32>, tensor<10x8xf32>, tensor<10x8xf32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 122.1K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/fuzzing/op_fuzzing.bzl

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 07 19:14:57 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.h

    };
    
    // Unroll split into a bunch of slice ops.
    struct UnrollSplit : public OpRewritePattern<TFL::SplitOp> {
      using OpRewritePattern<TFL::SplitOp>::OpRewritePattern;
    
      LogicalResult matchAndRewrite(TFL::SplitOp split_op,
                                    PatternRewriter& rewriter) const override;
    };
    
    // Unroll splitv into a bunch of slice ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 03 16:37:16 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/python/tfr_gen_test.py

          CHECK-NEXT:   %[[SplitV:.*]] = tfr.call @tf__split_v(%lhs, %[[pack]], %[[cst_5]], %[[cst_4]])
          CHECK-NEXT:   %[[idx:.*]] = arith.constant 0 : index
          CHECK-NEXT:   %[[elt:.*]] = tfr.get_element %SplitV[%idx] : (!tfr.tensor_list, index) -> !tfr.tensor
          CHECK-NEXT:   %[[idx_1:.*]] = arith.constant 1 : index
          CHECK-NEXT:   %[[elt_1:.*]] = tfr.get_element %SplitV[%idx_1] : (!tfr.tensor_list, index) -> !tfr.tensor
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 28.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/tests/opens2s_gnmt_mixed_precision.golden_summary

     Const 81
     ExpandDims 3
     Fill 1
     GreaterEqual 8
     Identity 1
     Less 1
     MatMul 10
     Mul 44
     Range 1
     Rsqrt 1
     Select 19
     Shape 6
     Sigmoid 24
     Snapshot 8
     Softmax 1
     Split 8
     SplitV 6
     Square 1
     Squeeze 1
     StridedSlice 1
     Sum 2
     Tanh 17
    cluster 12 size 6
     Add 1
     All 1
     Const 2
     GreaterEqual 1
     LogicalOr 1
    cluster 15 size 614
     Add 22
     AddN 41
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. tensorflow/cc/gradients/array_grad.cc

      return scope.status();
    }
    REGISTER_GRADIENT_OP("Split", SplitGrad);
    
    Status SplitVGrad(const Scope& scope, const Operation& op,
                      const std::vector<Output>& grad_inputs,
                      std::vector<Output>* grad_outputs) {
      if (op.num_inputs() < 3) {
        return errors::InvalidArgument("SplitV requires 3 arguments");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  8. tensorflow/cc/gradients/array_grad_test.cc

    }
    
    TEST_F(ArrayGradTest, SplitGrad) {
      TensorShape x_shape({5, 2});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape));
      // Split along the second dimension.
      auto split_dim = Const(scope_, 1, {});
      auto y = Split(scope_, split_dim, x, /* num_split */ 2);
      TensorShape y_shape = TensorShape({5, 1});
      RunTest({x}, {x_shape}, y.output, {y_shape, y_shape});
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      func.return
    }
    
    // -----
    
    func.func @testSplitVSplitDimOutOfRange(%input: tensor<4x4xf32>, %split_sizes: tensor<2xi32>) {
      %split_dim = "tf.Const"() {value = dense<100>: tensor<i32>} : () -> (tensor<i32>)
      // expected-error @+1 {{split dimension must be in range [-2, 2)}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

    }
    
    // ================== splitV ========================
    
    LogicalResult UnrollSplitV::matchAndRewrite(TFL::SplitVOp splitv_op,
                                                PatternRewriter& rewriter) const {
      // We need to make sure both splits & split dim are constants.
      auto splits = splitv_op.getSizeSplits().getDefiningOp();
      mlir::DenseIntElementsAttr splits_attr;
      if (!splits || !matchPattern(splits, m_Constant(&splits_attr)))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top