Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,404 for tensor2 (0.14 sec)

  1. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/type_attr.mlir

    // CHECK-EMPTY
    // CHECK:   }, {
    // CHECK-EMPTY
    // CHECK:   } ]
    // CHECK: }
    
    func.func @main() -> tensor<*xi32> {
    	// Tests that the below type attribute is convertible into the corresponding custom option in flatbuffer.
      %0 = "tf.SomeOperation"() {dtype = i32 } : () -> tensor<*xi32>
      func.return %0 : tensor<*xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:31:32 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

    def TFR_CastOp : TFR_Op<"cast", [Pure]> {
      let description = [{
        The `cast` operation converts the operand with built-in tensor type to
        tfr.tensor type, or vice versa.
    
        Example:
    
        ```mlir
        %1 = tfr.cast(%0) : tensor<f32> -> !tfr.tensor
        %3 = tfr.cast(%1) : !tfr.tensor -> tensor<f32>
        ```
      }];
    
      let arguments = (ins TFR_singleTensorType:$arg);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/nn.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s
    
    func.func @main(tensor<1x6x6x16xf32>) -> tensor<1x1x1x16xf32> {
    ^bb0(%arg0: tensor<1x6x6x16xf32>):
      // CHECK:      {
      // CHECK-NEXT:   version: 3,
      // CHECK-NEXT:   operator_codes: [ {
      // CHECK-NEXT:     deprecated_builtin_code: 1,
      // CHECK-NEXT:     version: 1,
      // CHECK-NEXT:     builtin_code: AVERAGE_POOL_2D
      // CHECK-NEXT:   } ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device.h

    // an error.
    //
    // All component tensors must have the same dtype. Currently they must also have
    // the same shape, although this requirement may be relaxed in the future.
    //
    // `device_name` must not name an existing physical or custom device (see
    // the documentation for TFE_RegisterCustomDevice for more information).
    //
    // Tensors may be copied on or off the device explicitly using
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 04 21:49:16 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/reshape.mlir

    // CHECK-NEXT:   } ]
    // CHECK-NEXT:   signature_defs: [ ]
    // CHECK-NEXT: }
    
      %0 = "tfl.pseudo_const" () {value = dense<[6]> : tensor<1xi32>} : () -> tensor<1xi32> loc("Const")
      %1 = "tfl.reshape" (%arg0, %0) : (tensor<3x2xi32>, tensor<1xi32>) -> tensor<6xi32>
      func.return %1 : tensor<6xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_op_with_f64.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-select-tf-ops -o - | flatbuffer_to_string - | FileCheck %s
    
    func.func @main(tensor<4xf64>, tensor<4xf64>) -> tensor<4xf64> {
    ^bb0(%arg0: tensor<4xf64>, %arg1: tensor<4xf64>):
    // CHECK:  {
    // CHECK-NEXT:  version: 3,
    // CHECK-NEXT:  operator_codes: [ {
    // CHECK-NEXT:    deprecated_builtin_code: 32,
    // CHECK-NEXT:    custom_code: "FlexAdd",
    // CHECK-NEXT:    builtin_code: CUSTOM
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/import_json.json

    // CHECK: return %[[RES0]] : tensor<256x32x32x16xf32>
    
    {
      "version": 3,
      "operator_codes": [
        {
          "builtin_code": "CONV_2D"
        }
      ],
      "subgraphs": [
        {
          "tensors": [
            {
              "shape": [
                256,
                32,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/fake_quant.mlir

    func.func @main(tensor<4xf32>) -> tensor<4xf32> {
    ^bb0(%arg0: tensor<4xf32>):
    // CHECK: {
    // CHECK-NEXT:   version: 3,
    // CHECK-NEXT:     operator_codes: [ {
    // CHECK-NEXT:       deprecated_builtin_code: 80,
    // CHECK-NEXT:       version: 1,
    // CHECK-NEXT:       builtin_code: FAKE_QUANT
    // CHECK-NEXT:     } ],
    // CHECK-NEXT:     subgraphs: [ {
    // CHECK-NEXT:       tensors: [ {
    // CHECK-NEXT:         shape: [ 4 ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api.h

    // some input tensors are not on that device.
    // LINT.IfChange
    // Note: Keep in sync with internal copy of enum in eager/context.h.
    typedef enum TFE_ContextDevicePlacementPolicy {
      // Running operations with input tensors on the wrong device will fail.
      TFE_DEVICE_PLACEMENT_EXPLICIT = 0,
      // Copy the tensor to the right device but log a warning.
      TFE_DEVICE_PLACEMENT_WARN = 1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/variant_type_on_op.mlir

    // CHECK-NEXT: }
    func.func @main() -> tensor<!tf_type.variant<tensor<2xi32>>> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 16 20:36:14 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top