Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 861 for SplitV (0.35 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/signature-v2.go

    	// Authorization = "AWS" + " " + AWSAccessKeyId + ":" + Signature
    	authFields := strings.Split(r.Header.Get(xhttp.Authorization), " ")
    	if len(authFields) != 2 {
    		return auth.Credentials{}, false, ErrMissingFields
    	}
    
    	// Then will be splitting on ":", this will separate `AWSAccessKeyId` and `Signature` string.
    	keySignFields := strings.Split(strings.TrimSpace(authFields[1]), ":")
    	if len(keySignFields) != 2 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. src/mime/encodedword.go

    			currentLen = runeLen
    		}
    	}
    	io.WriteString(w, s[last:])
    	w.Close()
    }
    
    // qEncode encodes s using Q encoding and writes it to buf. It splits the
    // encoded-words when necessary.
    func (e WordEncoder) qEncode(buf *strings.Builder, charset, s string) {
    	// We only split encoded-words when the charset is UTF-8.
    	if !isUTF8(charset) {
    		writeQString(buf, s)
    		return
    	}
    
    	var currentLen, runeLen int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top