Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for input_ (0.09 sec)

  1. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

      ]
    
    
    @Composite(
        'NewFullyConnected',
        inputs=['input_: T', 'filter_: T', 'bias: T'],
        attrs=['act: {"", "RELU", "RELU6", "TANH"} = ""'],
        derived_attrs=['T: {float, int8}'],
        outputs=['o: T'])
    def _composite_fully_connected(input_, filter_, bias, act):
      res = tf.raw_ops.MatMul(
          a=input_, b=filter_, transpose_a=False, transpose_b=True)
      res = tf.raw_ops.Add(x=res, y=bias)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/tests/decompose.mlir

      %data_format = tfr.constant "NHWC" -> !tfr.attr
      %MaxPool = tfr.call @tf__max_pool(%input_, %stride, %filter, %padding, %explicit_paddings, %data_format) : (!tfr.tensor, !tfr.attr, !tfr.attr, !tfr.attr, !tfr.attr, !tfr.attr) -> (!tfr.tensor)
      tfr.return %MaxPool : !tfr.tensor
    // CHECK: tf__max_pool
    }
    
    // CHECK-LABEL: @tf__cast_float
    tfr.func @tf__cast_float(%input_: !tfr.tensor, %out_type: !tfr.attr{tfr.name="out_type"}) -> (!tfr.tensor) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

      // TFL lstm only supports time-majored inputs, so if it's not time-majored,
      // we will transpose the inputs and outputs.
      auto time_major_attr = func_op->getAttrOfType<BoolAttr>("tf.time_major");
      if (time_major_attr == nullptr) return failure();
    
      bool time_majored = time_major_attr.getValue();
      auto input_type = mlir::dyn_cast_or_null<RankedTensorType>(input.getType());
      if (!input_type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/lstm_utils.h

      func::FuncOp fused_func_op_;
      Value input_;
      Value weight_;
      Value bias_;
      Value projection_;
      bool couple_input_forget_gates_;
    
      // internal state
      Value weight_transposed_;
      Value projection_transposed_;
      RankedTensorType weight_type_;
      RankedTensorType projection_type_;
      int num_gates_;
      int n_cell_;
      int n_output_;
      int n_input_;
      int num_cols_weight_transposed_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        }
      }
    
      if (!inputs.empty() || !outputs.empty()) {
        arg_nodes->resize(inputs.size());
        ret_nodes->resize(outputs.size());
    
        for (Node* n : GetOrderedNodes()) {
          // Handle inputs/arguments.
          auto input_it = inputs.find(n->name());
          if (input_it != inputs.end()) {
            (*arg_nodes)[input_it->second] = {n, 0};
          }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

      kQuantizationOp,  // Quantization ops have input/output attr.
    };
    
    // For each op type, the following axis carries axis information:
    // kDynamicRangeOp: rhs_quantization_axis will carry axis information.
    // kUnaryOp: quantization_axis will carry axis information.
    // kBinaryOp: Among {lhs, rhs, output}_quantization_axis, only check rhs.
    // kQuantizationOp: Among {input, output}_quantization_axis, only check input.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops.mlir

      %10 = "tf.opK"() : () -> tensor<*xi16>
      %11 = "tf.opL"() : () -> tensor<*xi64>
      tf_device.replicate([%0, %1, %2] as %input0: tensor<*xi1>, %9 as %input1: tensor<*xi8>, %10 as %input2: tensor<*xi16>, [%3, %4, %5] as %input3: tensor<*xi32>, [%6, %7, %8] as %input4: tensor<*xf32>, %11 as %input5: tensor<*xi64>) {n = 3 : i32} {
        tf_device.return
      }
      func.return
    
    // CHECK:      %[[OP_A:[a-z0-9]*]] = "tf.opA"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/prepare-quantize-post-training.mlir

    // CHECK-SAME: %[[input_9]], %[[input_10]], %[[input_11]], %[[input_12]], %[[input_13]], %[[input_14]], %[[input_15]], %[[input_16]], %[[input_17]], %[[input_18]], %[[input_19]],
    // CHECK-SAME: %[[input_20]], %[[input_21]], %[[input_22]], %[[input_23]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

    is used instead.
    
    Operands are replicated inputs and packed inputs.
    
    replicated_inputs: each group of `n` inputs corresponds to an input for a single
    individual replica and is mapped to a single region argument. Inside one group
    the operands are matching in order the `devices` attribute. Each replicated
    input must have compatible shapes and types.
    packed_inputs: each input corresponds to an input broadcasted across all
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/prepare-quantize-post-training-16bits.mlir

    // CHECK-SAME: %[[input_9]], %[[input_9]], %[[input_9]],
    // CHECK-SAME: %[[input_10]], %[[input_11]], %[[input_12]], %[[input_13]],
    // CHECK-SAME: %[[input_9]], %[[input_9]],
    // CHECK-SAME: %[[input_14]], %[[input_15]],
    // CHECK-SAME: %[[input_9]], %[[input_9]], %[[input_9]], %[[input_9]]) <{
    // CHECK-SAME: asymmetric_quantize_inputs = false,
    // CHECK-SAME: cell_clip = 1.000000e+01 : f32,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top