- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for x_ty (0.04 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
} RankedTensorType x_ty = GetRankedTensorTypeForOperand(op.getX()); RankedTensorType y_ty = GetRankedTensorTypeForOperand(op.getY()); if (!x_ty || !y_ty) return success(); ArrayRef<int64_t> x_shape = x_ty.getShape(); ArrayRef<int64_t> y_shape = y_ty.getShape(); llvm::SmallVector<int64_t, 4> result_batch_shape;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
// batch size in lhs and rhs must be broadcastable RankedTensorType x_ty = op.getX().getType().dyn_cast<RankedTensorType>(); RankedTensorType y_ty = op.getY().getType().dyn_cast<RankedTensorType>(); if (!x_ty || !y_ty) return success(); ArrayRef<int64_t> x_shape = x_ty.getShape(); ArrayRef<int64_t> y_shape = y_ty.getShape(); llvm::SmallVector<int64_t, 4> result_batch_shape;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/cc/gradients/image_grad_test.cc
Tensor x_data = MakeData<X_T>(x_shape); Output x, y; MakeOp<X_T>(op_type, x_data, {4, 6}, align_corners, half_pixel_centers, &x, &y); JAC_T max_error; TF_ASSERT_OK((ComputeGradientError<X_T, Y_T, JAC_T>( scope_, x, x_data, y, {1, 4, 6, 1}, &max_error))); EXPECT_LT(max_error, 1.5e-3); } template <typename X_T, typename Y_T, typename JAC_T>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 15 04:08:05 UTC 2019 - 12.1K bytes - Viewed (0) -
tensorflow/cc/framework/gradient_checker.h
/// <X_T, Y_T, JAC_T> should be <double, double, double> /// /// if y = Square(x), where x (and so y) are DT_COMPLEX64, /// <X_T, Y_T, JAC_T> should be <complex64, complex64, float> /// Note that JAC_T is always real-valued, and should be an appropriate /// precision to host the partial derivatives for dy/dx /// /// if y = ComplexAbs(x) where x is DT_COMPLEX64 (so y is DT_FLOAT) /// <X_T, Y_T, JAC_T> should be <complex64, float, float>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 15:35:17 UTC 2022 - 2.8K bytes - Viewed (0) -
tensorflow/cc/framework/gradient_checker.cc
// complex-valued, we perturb its real and complex parts separately. for (int r = 0; r < x_size; ++r) { int unit_dimension = 0; for (X_T unit : BaseUnitsForType<X_T>::values()) { X_T x_delta = unit * X_T{delta}; // Store current value of 'x' at 'r'. X_T v = x_data_flat(r); // Evaluate at positive delta. x_data_flat(r) = v + x_delta; std::vector<Tensor> y_pos;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 18.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/prebuilt/groovy/3rd-party-lib/boost_1_55_0/boost/version.hpp
// BOOST_VERSION / 100000 is the major version #define BOOST_VERSION 105500 // // BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION // but as a *string* in the form "x_y[_z]" where x is the major version // number, y is the minor version number, and z is the patch level if not 0. // This is used by <config/auto_link.hpp> to select which library version to link to.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0) -
src/go/build/constraint/expr_test.go
t.Errorf("String() mismatch:\nhave %s\nwant %s", s, tt.out) } }) } } var lexTests = []struct { in string out string }{ {"", ""}, {"x", "x"}, {"x.y", "x.y"}, {"x_y", "x_y"}, {"αx", "αx"}, {"αx²", "αx err: invalid syntax at ²"}, {"go1.2", "go1.2"}, {"x y", "x y"}, {"x!y", "x ! y"}, {"&&||!()xy yx ", "&& || ! ( ) xy yx"}, {"x~", "x err: invalid syntax at ~"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 18 22:36:55 UTC 2021 - 7.6K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad_test.cc
NDTRI }; template <typename X_T, typename Y_T> void TestCWiseGrad(UnaryOpType op_type, const std::function<X_T(int)>& x_fn) { TF_ASSERT_OK(scope_.status()); DataType x_type = DataTypeToEnum<X_T>::v(); TensorShape shape({2, 3, 2}); auto x = Placeholder(scope_, x_type, Placeholder::Shape(shape)); Tensor x_data(x_type, shape); auto x_data_flat = x_data.flat<X_T>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0) -
src/crypto/tls/boring_test.go
t.Skipf("skipping on %s/%s because key generation takes too long", runtime.GOOS, runtime.GOARCH) } // Set up some roots, intermediate CAs, and leaf certs with various algorithms. // X_Y is X signed by Y. R1 := boringCert(t, "R1", boringRSAKey(t, 2048), nil, boringCertCA|boringCertFIPSOK) R2 := boringCert(t, "R2", boringRSAKey(t, 512), nil, boringCertCA)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:45:37 UTC 2024 - 19.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
// Start replacing. auto k = !values.use_empty() ? k_values : k_indices; // Build scalar tensor k. auto k_ty = mlir::RankedTensorType::get({}, rewriter.getIntegerType(32)); Value k_cst = rewriter.create<TFL::ConstOp>( op.getLoc(), DenseElementsAttr::get(k_ty, k)); // Compute new result types. auto values_ty = mlir::dyn_cast<ShapedType>(values.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0)