Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for concatenation (0.25 sec)

  1. tensorflow/compiler/mlir/lite/tests/ops.mlir

    func.func @testConcatInvalidAxis(%arg0: tensor<1x2xi32>, %arg1: tensor<1x2xi32>) -> tensor<2x2xi32> {
      // expected-error @+1 {{'tfl.concatenation' op concatenation dimension must be in [-rank, rank)}}
      %0 = "tfl.concatenation"(%arg0, %arg1) {axis = 2 : i32, fused_activation_function = "NONE"} : (tensor<1x2xi32>, tensor<1x2xi32>) -> tensor<2x2xi32>
      func.return %0 : tensor<2x2xi32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // `tfl.concatenation`.
    
    func.func @concatenate_float(%arg0: tensor<3x2xf32>, %arg1: tensor<1x2xf32>) -> tensor<4x2xf32> {
      %0 = "stablehlo.concatenate"(%arg0, %arg1) {dimension = 0 : i64} : (tensor<3x2xf32>, tensor<1x2xf32>) -> tensor<4x2xf32>
      return %0 : tensor<4x2xf32>
    }
    // CHECK-LABEL: concatenate_float
    // CHECK-NOT: tfl.concatenation
    // CHECK: stablehlo.concatenate
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

        // Use `PackOp` for scalar concatenation because `ConcatV2Op` doesn't
        // support scalar concatenation.
        if (is_scalar) {
          auto pack = CreateTfOp<PackOp>(rewriter, op, result_type, args,
                                         rewriter.getI64IntegerAttr(axis));
          return pack.getResult();
        }
    
        // New concatenation axis.
        auto axis_type = tensorflow::GetTypeFromTFTensorShape(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  4. src/net/http/server.go

    //
    // Additionally, files containing a certificate and matching private key
    // for the server must be provided. If the certificate is signed by a
    // certificate authority, the certFile should be the concatenation
    // of the server's certificate, any intermediates, and the CA's certificate.
    //
    // ServeTLS always returns a non-nil error.
    func ServeTLS(l net.Listener, handler Handler, certFile, keyFile string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        return success();
      }
    };
    
    // Fuses Unpack with proceeding Concatenation to Reshape if output type has
    // static shape and activation function is none. For example:
    //
    //   // %input: tensor<1x3x2xf32>
    //   %unpack:3 = "tfl.unpack"(%input) {axis = 1 : i32, num = 3 : i32}
    //   %res = "tfl.concatenation"(%unpack#0, %unpack#1, %unpack#2)
    //        {axis = -1 : i32, fused_activation_function = "NONE"}
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      return -1;
    }
    
    //===----------------------------------------------------------------------===//
    // ConcatenationOp
    //===----------------------------------------------------------------------===//
    // TODO(ashwinm): Implement shape inference for Concatenation
    
    namespace {
    
    int64_t GetConcatenationOpAxis(ConcatenationOp op) {
      auto output_type = op.getOutput().getType().cast<RankedTensorType>();
      int32_t axis = op.getAxis();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      func.return %1 : tensor<2x3xi32>
    
    // CHECK-LABEL: concat_v2_with_3_tensors
    // CHECK: "tfl.concatenation"(%arg0, %arg1, %arg2) <{axis = -1 : i32, fused_activation_function = "NONE"}> : (tensor<2x1xi32>, tensor<2x1xi32>, tensor<2x1xi32>) -> tensor<2x3xi32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

          return TF::ArraysAreCastCompatible(l, r);
        }
      }];
    }
    
    def TFL_ConcatenationOp : TFL_Op<"concatenation",
      [
        Pure,
        TFL_SameFirstOperandAndFirstResultElementType,
        SameOperandsAndResultsScale,
        QuantizableResult
      ]> {
      let summary = "Concatenation operator";
    
      let description = [{
        Concatenates tensors along one dimension
      }];
    
      let arguments = (
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

    };
    
    // Rewrites quantized stablehlo.concatenate to tfl.concatenation.
    // TODO: b/322428814 - Add StableHLO quantizer integration tests for ODML.
    class RewriteQuantizedConcatenateOp
        : public OpRewritePattern<stablehlo::ConcatenateOp> {
     public:
      using OpRewritePattern<stablehlo::ConcatenateOp>::OpRewritePattern;
    
      LogicalResult match(stablehlo::ConcatenateOp op) const override {
        return success(IsOpFullyQuantized(op));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  10. doc/go1.17_spec.html

    </pre>
    
    <h4 id="String_concatenation">String concatenation</h4>
    
    <p>
    Strings can be concatenated using the <code>+</code> operator
    or the <code>+=</code> assignment operator:
    </p>
    
    <pre>
    s := "hi" + string(c)
    s += " and good bye"
    </pre>
    
    <p>
    String addition creates a new string by concatenating the operands.
    </p>
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top