Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,404 for tensor2 (0.14 sec)

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

      // Test that i4 buffers are densely packed, i.e. [-8, 3, -2, -5] should be
      // be packed low-bits-first as [0x38, 0xBE] or [56, 190]. Tensor type should
      // be INT4.
      %0 = "tfl.pseudo_const" () {value = dense<[-8, 3, -2, -5]> : tensor<4xi4>} : () -> tensor<4xi4> loc("Const")
      func.return %0 : tensor<4xi4>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 12 20:13:51 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tfl_while_op.mlir

        "tfl.yield"(%1) : (tensor<i1>) -> ()
      },  {
      ^bb0(%arg2: tensor<*xi32>, %arg3: tensor<*xf32>):
        %1:2 = func.call @WhileOp_body(%arg2, %arg3) : (tensor<*xi32>, tensor<*xf32>) -> (tensor<*xi32>, tensor<*xf32>)
        "tfl.yield"(%1#0, %1#1) : (tensor<*xi32>, tensor<*xf32>) -> ()
      }) : (tensor<i32>, tensor<1xf32>) -> (tensor<i32>, tensor<1xf32>) loc("WhileOp")
      func.return %0#1 : tensor<1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/freeze_global_tensors.cc

      }
    
      // Erase all global tensors that were frozen.
      for (auto global_tensor : frozen_global_tensors) {
        remaining_global_tensor_ops.erase(global_tensor);
        global_tensor->erase();
      }
    
      // Verify that there are no remaining global tensors.
      if (!allow_mutable_tensors && !remaining_global_tensor_ops.empty()) {
        module.emitError() << "could not freeze all global tensors in the module";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors.mlir

      func.func @f(%arg0: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @v}, %arg1: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @u})
      attributes {tf_saved_model.exported_names = ["f"]} {
        "tf.unhandled"(%arg0, %arg1) : (tensor<!tf_type.resource<tensor<f32>>>, tensor<!tf_type.resource<tensor<f32>>>) -> ()
        func.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tf_entry_function.mlir

    // CHECK:         } ]
    // CHECK:       }
      %0 = "tfl.pseudo_const" () {value = dense<[[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]]> : tensor<3x2xf32>} : () -> tensor<3x2xf32>
      %1 = "tfl.add" (%0, %arg0) {fused_activation_function = "NONE"} : (tensor<3x2xf32>, tensor<3x2xf32>) -> tensor<3x2xf32>
      func.return %1 : tensor<3x2xf32>
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/u16_quant.mlir

    func.func @main(%arg0: tensor<*x!quant.uniform<u16:f32, 2.0:37>>) -> tensor<*x!quant.uniform<u16:f32, 2.0:37>> {
    // CHECK:     {
    // CHECK-NEXT:  version: 3,
    // CHECK-NEXT:  operator_codes: [ ],
    // CHECK-NEXT:  subgraphs: [ {
    // CHECK-NEXT:    tensors: [ {
    // CHECK-NEXT:      shape: [  ],
    // CHECK-NEXT:      type: UINT16,
    // CHECK-NEXT:      buffer: 1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 09 00:49:38 UTC 2023
    - 714 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/tensorlist_patterns.td

    // Note that the pattern below rewrites `TensorList` tensors  (which has type DT_VARIANT)
    // into regular tensors. We also assume that each element in the `TensorList` has
    // a same constant shape.
    //===----------------------------------------------------------------------===//
    def ConvertTensorListFromTensor : Pat<
      (TF_TensorListFromTensorOp $tensor, $element_shape),
      (replaceWithValue $tensor)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 16 23:20:46 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/legacy_reshape.json

    // CHECK: %0 = "tfl.pseudo_const"() <{value = dense<2> : tensor<2xi32>}> : () -> tensor<2xi32>
    // CHECK: %1 = "tfl.reshape"(%arg0, %0) : (tensor<1x4xf32>, tensor<2xi32>) -> tensor<2x2xf32>
    
    {
      "version": 3,
      "operator_codes": [
        {
          "builtin_code": "RESHAPE"
        }
      ],
      "subgraphs": [
        {
          "tensors": [
            {
              "shape": [1, 4],
              "name": "input",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 986 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/signature_def_with_multiple_entry_points.mlir

        %0 = tfl.add %arg0, %arg1 {fused_activation_function = "NONE"} : tensor<?xf32>
        %1 = tfl.add %0, %0 {fused_activation_function = "NONE"} : tensor<?xf32>
        func.return %1 : tensor<?xf32>
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/hashtable_resource.mlir

    // CHECK-EMPTY
    // CHECK: }, {
    // CHECK-EMPTY
    // CHECK: } ]
    // CHECK: }
    
    func.func @main() -> tensor<*x!tf_type.resource> {
      %0 = "tf.HashTableV2"() {container = "" , shared_name= "table", use_node_name_sharing = false, key_dtype = i32, value_dtype = i32 } : () -> tensor<*x!tf_type.resource>
      func.return %0 : tensor<*x!tf_type.resource>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:31:32 UTC 2022
    - 1.2K bytes
    - Viewed (0)
Back to top