Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for fully_connected (0.69 sec)

  1. tensorflow/compiler/mlir/lite/tests/end2end/unroll_batch_matmul.pbtxt

    # CHECK:           %[[VAL_10:.*]] = "tfl.fully_connected"(%[[VAL_7]]#0, %[[VAL_9]], %[[VAL_3]]) <{fused_activation_function = "NONE", keep_num_dims = false, weights_format = "DEFAULT"}> : (tensor<1x5x3xf32>, tensor<7x3xf32>, none) -> tensor<5x7xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/signature_def_output_override.mlir

    // CHECK: {
    // CHECK-NEXT:  version: 3,
    // CHECK-NEXT:  operator_codes: [ {
    // CHECK-NEXT:    deprecated_builtin_code: 9,
    // CHECK-NEXT:    version: 1,
    // CHECK-NEXT:    builtin_code: FULLY_CONNECTED
    // CHECK-NEXT:  } ],
    // CHECK-NEXT:  subgraphs: [ {
    // CHECK-NEXT:    tensors: [ {
    // CHECK-NEXT:      shape: [ 1, 3 ],
    // CHECK-NEXT:      buffer: 1,
    // CHECK-NEXT:      name: "serving_default_input2:0",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/optional.mlir

    func.func @main(%arg0: tensor<40x37xf32>, %arg1: tensor<40x37xf32>) -> tensor<40x40xf32> {
      %0 = "tfl.no_value"() {value = unit} : () -> none
      %1:2 = "tfl.fully_connected"(%arg0, %arg1, %0) {fused_activation_function = "NONE", keep_num_dims = false, weights_format = "DEFAULT"} : (tensor<40x37xf32>, tensor<40x37xf32>, none) -> (tensor<40x40xf32>, tensor<40x40xf32>)
      func.return %1 : tensor<40x40xf32>
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:31:32 UTC 2022
    - 791 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/get-arithmetic-count.mlir

      func.return %0 : tensor<1x112x112x32xf32>
    }
    
    func.func @fully_connected(%arg0: tensor<1x37xf32>, %arg1: tensor<40x37xf32>, %arg2: tensor<40xf32>) -> tensor<1x40xf32> {
      // CHECK: _arithmetic_count = 3000 : i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 04:58:17 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/arithmetic_count_util.h

            return false;
          }
          total_count += input_type.getNumElements();
        }
        *count = total_count;
        return true;
      }
    
      // For conv2d/depthwise_conv/fully_connected ops.
      // This algorithm actually comes from TOCO tooling_util.cc
      static bool GetArithmeticCountForConvAndFullyconnectedOp(mlir::Operation* op,
                                                               int64_t* count) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/tests/compute-cost.mlir

      %0 = "tfl.pseudo_qconst"() {qtype = tensor<128x!quant.uniform<i32:f32, 0.7>>, value = dense<0> : tensor<128xi32>} : () -> tensor<128x!quant.uniform<i32:f32, 0.7>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:29:10 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc

      OptimizeBatchMatmulPass() = default;
      OptimizeBatchMatmulPass(const OptimizeBatchMatmulPass &) {}
    
      void runOnOperation() override;
    };
    
    // Converts batch_matmul operation to fully_connected if rhs is a
    // constant tensor with rank 2
    struct ConvertBatchMatMulOp2FullyConnectedOp
        : public OpRewritePattern<TFL::BatchMatMulOp> {
      using OpRewritePattern<TFL::BatchMatMulOp>::OpRewritePattern;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/common/tfl_pass_config.h

      // ops of the same device, under a `tf_device.launch` op.
      bool form_clusters = false;
      // If `unfold_batch_matmul` is true, the tf.BatchMatMul is unfolded to a set
      // of tfl.fully_connected ops.
      bool unfold_batch_matmul = true;
      // Whether to outline WhileOp at the end of the pipeline.
      bool outline_tf_while = false;
      // Whether to do shape inference.
      bool shape_inference = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/cpu_hardware.cc

      TargetHardwareOpRegistration<CpuHardware, Op> Op##_CpuHardware_hardware( \
          Create);
    
    // Operation costs on CPU
    
    // Currently used for these ops:
    // tfl.conv_2d / tfl.depthwise_conv_2d / tfl.fully_connected
    class CpuConvOp : public TargetHardwareOperation {
      double GetOpCost(mlir::Operation* op) const override {
        float cost = 0.0;
        int64_t arithmetic_count;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization.td

          (ins "bool":$sign, "int":$bit_width)
        >,
      ];
    }
    
    def AffineQuantizedOpInterface : OpInterface<
      "AffineQuantizedOpInterface"> {
      let description = [{
        Interface for affine quantized ops (conv2d, fully_connected, etc.)
      }];
    
      let methods = [
        InterfaceMethod<
          [{Returns the affine operand index.}],
          "int", "GetAffineOperandIndex",
          (ins), [{}], [{return 1;}]>,
        InterfaceMethod<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top