Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CreateRandomI8Literal (0.28 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

      %output = "tf.Cast"(%0) {} : (tensor<1x9x9x10x!tf_type.qint32>) -> tensor<1x9x9x10xi32>
      return %output : tensor<1x9x9x10xi32>
    })mlir";
      TF_ASSERT_OK_AND_ASSIGN(auto input, CreateRandomI8Literal({1, 9, 9, 9}));
      TF_ASSERT_OK_AND_ASSIGN(auto filter, CreateRandomI8Literal({3, 3, 9, 10}));
      ExecuteAndCompareResultsWithTfKernel(kProgram, {&input, &filter});
    }
    
    TEST_F(ConvertTfQuantToMhloIntTest,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
Back to top