- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for DT_COMPLEX64 (0.45 sec)
-
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/compiler/mlir/tensorflow/utils/convert_tensor.cc
// TODO(b/188995810): DenseElementsAttr::get doesn't support complex // Attributes being passed, so we bail out for now. This should just be // MATCH(DT_COMPLEX64, scomplex) / 2; // MATCH(DT_COMPLEX128, dcomplex) / 2; // when DenseElementsAttr is updated. case DT_COMPLEX64: case DT_COMPLEX128: default: return -1; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 20.5K bytes - Viewed (0) -
tensorflow/cc/gradients/linalg_grad_test.cc
} TEST_F(LinalgGradTest, Einsum_MatMulComplex) { TensorShape x_shape({2, 3}); TensorShape y_shape({3, 3}); Output x = Placeholder(scope_, DT_COMPLEX64, Placeholder::Shape(x_shape)); Output y = Placeholder(scope_, DT_COMPLEX64, Placeholder::Shape(y_shape)); auto z = Einsum(scope_, {x, y}, "ij,jk->ik"); TensorShape z_shape({2, 3}); TF_ASSERT_OK(scope_.status()); float max_error;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 07 23:11:54 UTC 2022 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_type.cc
case DT_UINT64: *type = builder.getIntegerType(64, /*isSigned=*/false); return absl::OkStatus(); case DT_BFLOAT16: *type = builder.getBF16Type(); return absl::OkStatus(); case DT_COMPLEX64: *type = mlir::ComplexType::get(builder.getF32Type()); return absl::OkStatus(); case DT_COMPLEX128: *type = mlir::ComplexType::get(builder.getF64Type()); return absl::OkStatus();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/convert_type.cc
tensorflow::DataType TflTypeToTfType(tflite::TensorType type) { switch (type) { case tflite::TensorType_BOOL: return tensorflow::DT_BOOL; case tflite::TensorType_COMPLEX64: return tensorflow::DT_COMPLEX64; case tflite::TensorType_COMPLEX128: return tensorflow::DT_COMPLEX128; case tflite::TensorType_FLOAT16: return tensorflow::DT_HALF; case tflite::TensorType_BFLOAT16:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/cc/framework/gradient_checker_test.cc
EXPECT_LT(max_error, 1e-10); } TEST(GradientCheckerTest, BasicComplex64) { Scope scope = Scope::NewRootScope(); TensorShape shape({2, 4, 3}); auto x = Placeholder(scope, DT_COMPLEX64, Placeholder::Shape(shape)); auto y = Square(scope, x); float max_error; TF_ASSERT_OK((ComputeGradientError<complex64, complex64, float>( scope, {x}, {shape}, {y}, {shape}, &max_error)));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 06 15:54:08 UTC 2018 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cpu_device.cc
// Kernel registrations constexpr std::array<DataType, 18> kAllXlaCpuTypes = { {DT_UINT8, DT_QUINT8, DT_UINT16, DT_INT8, DT_QINT8, DT_INT16, DT_INT32, DT_QINT32, DT_INT64, DT_HALF, DT_FLOAT, DT_DOUBLE, DT_COMPLEX64, DT_COMPLEX128, DT_BOOL, DT_BFLOAT16, DT_INT4, DT_UINT4}}; REGISTER_XLA_LAUNCH_KERNEL(DEVICE_XLA_CPU, XlaLocalLaunchOp, kAllXlaCpuTypes); REGISTER_XLA_COMPILE_KERNEL(DEVICE_XLA_CPU, XlaCompileOp, kAllXlaCpuTypes);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_gpu_device.cc
{DT_UINT8, DT_QUINT8, DT_UINT16, DT_INT8, DT_QINT8, DT_INT16, DT_INT32, DT_QINT32, DT_INT64, DT_HALF, DT_FLOAT, DT_DOUBLE, DT_COMPLEX64, DT_COMPLEX128, DT_BOOL, DT_BFLOAT16, DT_FLOAT8_E5M2, DT_FLOAT8_E4M3FN, DT_INT4, DT_UINT4}}; REGISTER_XLA_LAUNCH_KERNEL(DEVICE_XLA_GPU, XlaLocalLaunchOp, kAllXlaGpuTypes);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 6.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/shape-attrs.pbtxt
dim { size: -1 } } } } } attr { key: "output_types" value { list { type: DT_HALF type: DT_COMPLEX64 type: DT_COMPLEX128 } } } } node { name: "InfeedDequeueTuple" op: "InfeedDequeueTuple" attr { key: "shapes" value { list {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 04 18:02:53 UTC 2020 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/constant_utils.cc
mlir::dyn_cast<mlir::ComplexType>(element_type)) { auto etype = complex_type.getElementType(); if (etype.isF32()) { tensorflow::TensorProto repr; repr.set_dtype(tensorflow::DT_COMPLEX64); tensorflow::TensorShapeProto* shape = repr.mutable_tensor_shape(); shape->set_unknown_rank(false); shape->add_dim()->set_size(int64_t{1}); std::string content;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.5K bytes - Viewed (0)