- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for div_a (0.03 sec)
-
src/cmd/compile/internal/test/testdata/divbyzero_test.go
} } }() f() return false } //go:noinline func div_a(i uint, s []int) int { return s[i%uint(len(s))] } //go:noinline func div_b(i uint, j uint) uint { return i / j } //go:noinline func div_c(i int) int { return 7 / (i - i) } func TestDivByZero(t *testing.T) { if got := checkDivByZero(func() { div_b(7, 0) }); !got { t.Errorf("expected div by zero for b(7, 0), got no error\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/python/testing_test.py
class FileSizeTestCase(test.TestCase): def setUp(self): super().setUp() self.path_a = self.create_tempdir('dir_a').full_path self.create_tempfile(file_path='dir_a/w.txt', content='abcd') self.path_b = self.create_tempdir('dir_b').full_path self.create_tempfile(file_path='dir_b/x.txt', content='1234')
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
if (output_type.getRank() != 4) return op.emitOpError() << "requires output to be a 4D tensor, but got " << output_type; auto static_dims = [](int64_t dim_a, int64_t dim_b) { return dim_a != ShapedType::kDynamic && dim_b != ShapedType::kDynamic; }; auto output_shape = output_type.getShape(); // output batch = input batch / (block_size * block_size).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0)