Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 907 for SplitV (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

    DECL_CONVERT_OP(BatchMatMulV2);
    DECL_CONVERT_OP(BatchMatMulV3);
    DECL_CONVERT_OP(MatMul);
    DECL_CONVERT_OP(MatrixDiagV2);
    DECL_CONVERT_OP(MatrixDiagV3);
    DECL_CONVERT_OP(Pack);
    DECL_CONVERT_OP(Split);
    DECL_CONVERT_OP(SplitV);
    DECL_CONVERT_OP(Unpack);
    DECL_CONVERT_OP(Conv3D);
    DECL_CONVERT_OP(Conv3DBackpropInputV2);
    
    #undef DECL_CONVERT_OP
    
    // Converts any IntegerAttr to an IntegerAttr of an i32 type.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Streams.java

          Spliterator<? extends T> splitr = stream.spliterator();
          splitrsBuilder.add(splitr);
          characteristics &= splitr.characteristics();
          estimatedSize = LongMath.saturatedAdd(estimatedSize, splitr.estimateSize());
        }
        return StreamSupport.stream(
                CollectSpliterators.flatMap(
                    splitrsBuilder.build().spliterator(),
                    splitr -> (Spliterator<T>) splitr,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Splitter.java

        return strategy.iterator(this, sequence);
      }
    
      /**
       * Splits {@code sequence} into string components and returns them as an immutable list. If you
       * want an {@link Iterable} which may be lazily evaluated, use {@link #split(CharSequence)}.
       *
       * @param sequence the sequence of characters to split
       * @return an immutable list of the segments split from the parameter
       * @since 15.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Splitter.java

        return strategy.iterator(this, sequence);
      }
    
      /**
       * Splits {@code sequence} into string components and returns them as an immutable list. If you
       * want an {@link Iterable} which may be lazily evaluated, use {@link #split(CharSequence)}.
       *
       * @param sequence the sequence of characters to split
       * @return an immutable list of the segments split from the parameter
       * @since 15.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  9. src/strings/strings.go

    	return genSplit(s, sep, len(sep), n)
    }
    
    // Split slices s into all substrings separated by sep and returns a slice of
    // the substrings between those separators.
    //
    // If s does not contain sep and sep is not empty, Split returns a
    // slice of length 1 whose only element is s.
    //
    // If sep is empty, Split splits after each UTF-8 sequence. If both s
    // and sep are empty, Split returns an empty slice.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  10. plugin/pkg/auth/authorizer/rbac/rbac_test.go

    			Name:     roleName,
    		},
    	}
    
    	r.Subjects = make([]rbacv1.Subject, len(subjects))
    	for i, subject := range subjects {
    		split := strings.SplitN(subject, ":", 2)
    		r.Subjects[i].Kind, r.Subjects[i].Name = split[0], split[1]
    
    		switch r.Subjects[i].Kind {
    		case rbacv1.ServiceAccountKind:
    			r.Subjects[i].APIGroup = ""
    		case rbacv1.UserKind, rbacv1.GroupKind:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 21.1K bytes
    - Viewed (0)
Back to top