Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestBitcastOp (0.18 sec)

  1. tensorflow/c/kernels/bitcast_op_test.cc

      }
      TestBitcastOp(&int8_input, DT_UINT64, TensorShape(), error::OK);
    }
    
    TEST(BitcastOpTest, TestDowncast) {
      Tensor int64_input(static_cast<uint64>(1));
      TestBitcastOp(&int64_input, DT_UINT8, TensorShape({8}), error::OK);
    }
    
    TEST(BitcastOpTest, TestCastToSameSize) {
      Tensor int32_input(DT_UINT32, {4, 6});
      TestBitcastOp(&int32_input, DT_UINT8, TensorShape({4, 6, 4}), error::OK);
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 18 15:10:51 UTC 2022
    - 5.5K bytes
    - Viewed (0)
Back to top