Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 229 for transposes (0.17 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      [(HasRank<2> $input),
       (AreLastTwoDimsTransposed $perm_value),
       (IsBoolAttrEqual<"false"> $adj_y)]>;
    
    // Replace conv-->transpose-->add with conv-->add-->transpose
    // The bias needs only reshape (i.e. ReshapeNCHWBiasToNHWC) and not transpose
    // because the bias's shape simply changes from NxCx1x1 to Nx1x1xC.
    def ReorderNCHWTransposeAdd : Pat <
      (TFL_AddOp:$add_op
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/end2end/unroll_batch_matmul.pbtxt

    # CHECK:           %[[VAL_7:.*]]:2 = "tfl.split"(%[[VAL_6]], %[[VAL_0]]) <{num_splits = 2 : i32}> : (tensor<i32>, tensor<2x5x3xf32>) -> (tensor<1x5x3xf32>, tensor<1x5x3xf32>)
    # CHECK:           %[[VAL_9:.*]] = "tfl.transpose"(%[[VAL_1]], %[[VAL_2]]) : (tensor<3x7xf32>, tensor<2xi32>) -> tensor<7x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/control_flow_upgrade_legacy_v1.py

      y_op = tf.placeholder(dtype=tf.int32)
      less_op = tf.less(x_op, y_op)
      switch_op = control_flow_ops.switch(data, less_op)
      merge_op = control_flow_ops.merge(switch_op)[0]
      result = tf.transpose(merge_op)
    
      tensor_info_result = tf.compat.v1.saved_model.utils.build_tensor_info(result)
    
      signature_def = tf.saved_model.signature_def_utils.build_signature_def(
          inputs=None,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 17 02:29:35 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h

    //
    // Example: compilation using XLA (MHLO) lowering
    //
    //   %0 = "tf.Transpose"(%input, %perm)
    //        : (tensor<?x?xf32>, tensor<2xi32>) -> tensor<?x?xf32>
    //
    //   XLAs `mhlo.transpose` operation requires permutation to be an attribute
    //   (compile time value), so it means that if we want to put `tf.Transpose`
    //   into a cluster that will be compiled with XLA, the `%perm` operand must
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/jit/clone_constants_for_better_clustering.h

    //
    // We only clone small host constants now to avoid increasing memory consumption
    // too much.  Moreover, in practice the constants we have to duplicate are
    // things like the `perm` input to `Transpose` and the `size` input to `Slice`
    // which tend to be small anyway.
    
    class CloneConstantsForBetterClusteringPass : public GraphOptimizationPass {
     public:
      CloneConstantsForBetterClusteringPass() = default;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 19 23:57:44 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_op_quant_spec.cc

      // has one result operand.
      return isa<TF::IdentityOp, TF::CastOp, TF::ReshapeOp, TF::XlaShardingOp,
                 TF::GatherOp, TF::GatherV2Op, TF::XlaGatherOp, TF::ExpandDimsOp,
                 TF::SqueezeOp, TF::TransposeOp>(op);
    }
    
    bool IsOpWithQuantizableTrait(Operation* op) {
      // Supported quantizable ops.
      return isa<TF::XlaConvV2Op, TF::XlaDotV2Op, TF::MatMulOp, TF::Conv2DOp,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. pkg/kube/spdy.go

    	"fmt"
    	"net/http"
    
    	spdyStream "k8s.io/apimachinery/pkg/util/httpstream/spdy"
    	"k8s.io/client-go/rest"
    	"k8s.io/client-go/transport/spdy"
    )
    
    // roundTripperFor creates a SPDY upgrader that will work over custom transports.
    func roundTripperFor(restConfig *rest.Config) (http.RoundTripper, spdy.Upgrader, error) {
    	// Get the TLS config.
    	tlsConfig, err := rest.TLSConfigFor(restConfig)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 21:30:37 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.cc

      } else if (index_vector_dim != indices_type.getRank() - 1) {
        // If index_vector_dim isn't the last dimension in indices then it isn't
        // supported yet.
        // TODO(tberghammer): Transpose indices to support this usecase.
        return rewriter.notifyMatchFailure(
            parent_op,
            "index vector dim isn't the last dimension in start indices");
      }
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

    // CHECK:           %[[VAL_4:.*]] = "tf.Transpose"(%[[VAL_0]], %[[VAL_3]]) : (tensor<2x3xf32>, tensor<2xi64>) -> tensor<3x2xf32>
    // CHECK:           return %[[VAL_4]] : tensor<3x2xf32>
    // CHECK:         }
    func.func @transpose_2d(%arg0: tensor<2x3xf32>) -> tensor<3x2xf32> {
      %0 = mhlo.constant dense<[1, 0]> : tensor<2xi64>
      %1 = mhlo.constant dense<[1, 0]> : tensor<2xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
Back to top