Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for Squeeze (0.61 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      if (!input_type) return success();  // Can't verify squeeze dims.
    
      int64_t input_rank = input_type.getRank();
      for (const auto &squeeze_dim_apint :
           op.getSqueezeDims().getAsValueRange<IntegerAttr>()) {
        int64_t squeeze_dim = squeeze_dim_apint.getSExtValue();
        if (squeeze_dim < -input_rank || squeeze_dim >= input_rank) {
          return op.emitOpError()
                 << "squeeze dimension " << squeeze_dim << " not in ["
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/mark_for_compilation_pass.cc

              {"MISC",
               // clang-format off
         {"ApproxTopK", "BroadcastTo", "ExpandDims", "Fill", "NoOp",
          "Range", "Rank", "Reshape", "Shape", "ShapeN", "Size", "Squeeze",
          "Transpose", "ZerosLike", "OnesLike", "BiasAdd" /*PW + Broadcast*/,
          "BroadcastArgs", "BroadcastGradientArgs", "OneHot", "Concat", "ConcatV2",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/sha3/sha3.go

    	for len(out) > 0 {
    		n := copy(out, d.storage[d.i:d.n])
    		d.i += n
    		out = out[n:]
    
    		// Apply the permutation if we've squeezed the sponge dry.
    		if d.i == d.rate {
    			d.permute()
    		}
    	}
    
    	return
    }
    
    // Sum applies padding to the hash state and then squeezes out the desired
    // number of output bytes. It panics if any output has already been read.
    func (d *state) Sum(in []byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      func.return
    }
    
    // -----
    
    func.func @testSqueezeOutOfBounds(%arg0: tensor<?x?x10xf32>) -> tensor<?x10xf32> {
      // expected-error @+1 {{squeeze dimension -4 not in [-3, 3)}}
      %0 = "tf.Squeeze"(%arg0) { squeeze_dims = [-4] }: (tensor<?x?x10xf32>) -> tensor<?x10xf32>
      func.return %0 : tensor<?x10xf32>
    }
    
    // -----
    
    func.func @testTernaryEinsum(%arg0: tensor<2x3xf32>){
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    // TFL_TransposeOp when the tensor has some dimensions with value==1
    // Example- "tfl.transpose"(tensor<56x8x56x1x1x1x7xf32>, [4, 5, 1, 2, 0, 6, 3])
    // Permutation before squeese is [4, 5, 1, 2, 0, 6, 3] becomes [1, 2, 0, 3]
    // after squeeze is perfomed to retain the relative ordering of the non-1 dims.
    DenseElementsAttr GetSqueezedPermutation(Value input_value,
                                             Value input_permutation) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        SmallVector<int64_t, 4> begin_indices(value_rank, 0);
        auto end_indices = llvm::to_vector<4>(value_type.getShape());
        SmallVector<int64_t, 4> strides(value_rank, 1);
    
        // All HLO slice+squeeze results used to replace the original tf.Unpack op.
        SmallVector<Value, 4> results;
        results.reserve(op.getNumResults());
    
        for (int i = 0, end = op.getNumResults(); i < end; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_canonicalize.td

    include "mlir/IR/PatternBase.td"
    include "mlir/Dialect/Arith/IR/ArithOps.td"
    include "tensorflow/compiler/mlir/lite/ir/tfl_ops.td"
    include "tensorflow/compiler/mlir/lite/utils/utils.td"
    
    // Returns Squeezed shape of a ranked-tensor.
    // Squeezed, here, means eliminating any 1s' in the
    // dimensions of the tensor
    def GetSqueezedShape: NativeCodeCall<"GetSqueezedShape($0)">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 13 20:41:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    ```
    # 't' is a tensor of shape [1, 2, 1, 3, 1, 1]
    shape(squeeze(t)) ==> [2, 3]
    ```
    
    Or, to remove specific size 1 dimensions:
    
    ```
    # 't' is a tensor of shape [1, 2, 1, 3, 1, 1]
    shape(squeeze(t, [2, 4])) ==> [1, 2, 3, 1]
    ```
      }];
    
      let arguments = (ins
        Arg<TF_Tensor, [{The `input` to squeeze.}]>:$input,
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/crypto/sha3/doc.go

    // is then "full" and the permutation is applied to "empty" it. This process is
    // repeated until all the input has been "absorbed". The input is then padded.
    // The digest is "squeezed" from the sponge in the same way, except that output
    // is copied out instead of input being XORed in.
    //
    // A sponge is parameterized by its generic security strength, which is equal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    beginning to grow larger again, and she thought at first she
    would get up and leave the court; but on second thoughts she
    decided to remain where she was as long as there was room for
    her.
    
      `I wish you wouldn't squeeze so.' said the Dormouse, who was
    sitting next to her.  `I can hardly breathe.'
    
      `I can't help it,' said Alice very meekly:  `I'm growing.'
    
      `You've no right to grow here,' said the Dormouse.
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
Back to top