- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 155 for Dtype (0.05 sec)
-
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/control_flow.mlir
%0 = "tf.Const"() {device = "/device:CPU:0", value = dense<9> : tensor<i32>} : () -> tensor<i32> %1 = "tf.ReadVariableOp"(%arg) {device = "/device:CPU:0", dtype = i32} : (tensor<!tf_type.resource<tensor<i32>>>) -> tensor<i32> %2 = "tf.Less"(%1, %0) {device = "/device:CPU:0"} : (tensor<i32>, tensor<i32>) -> tensor<i1> func.return %2 : tensor<i1> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 00:40:32 UTC 2024 - 17.5K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_tpu_device.cc
} se::Stream* const src_compute_stream = src_xla_context->stream(); TF_RET_CHECK(src_compute_stream != nullptr); TF_RET_CHECK(input->dtype() == output->dtype()) << "input type: " << DataTypeString(input->dtype()) << " output type " << DataTypeString(output->dtype()); TF_RET_CHECK(input->shape() == output->shape()); TF_RET_CHECK(DMAHelper::CanUseDMA(input)); auto* const src_compute_stream_impl =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 22:53:47 UTC 2024 - 20.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 19:51:50 UTC 2024 - 10.3K bytes - Viewed (0) -
tensorflow/c/kernels.cc
const char* attr_name, const TF_DataType type, TF_Status* status) { tensorflow::DataType dtype = static_cast<tensorflow::DataType>(type); tensorflow::AddTypeConstraint(kernel_builder, attr_name, dtype, status); } void TF_KernelBuilder_HostMemory(TF_KernelBuilder* kernel_builder,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 22:53:47 UTC 2024 - 36K bytes - Viewed (0) -
tensorflow/compiler/jit/get_compiler_ir.cc
const Tensor* value = variable.var()->tensor(); arg.type = value->dtype(); arg.shape = value->shape(); arg.initialized = true; } else { // Instead of embedding constant into HLO, // we handle tf.constant as parameter to reduce size. arg.kind = XlaCompiler::Argument::kParameter; arg.type = input->dtype(); arg.shape = input->shape(); } args.push_back(arg);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 19K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc
} tensorflow::DataType dtype; auto status = tensorflow::ConvertToDataType(operand.getType(), &dtype); if (!status.ok()) { op->emitRemark() << "skipping legalization due to " << status.ToString(); return tensorflow::XlaExpression::Invalid(); } return tensorflow::XlaExpression::XlaOp(xla_op, dtype); } } // namespace mhlo
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 18.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc
ctx.appendDialectRegistry(registry); ctx.loadAllAvailableDialects(); } Status ConvertDataTypeToTensor(tensorflow::DataType dtype, Builder builder, Type* type) { Status s = tensorflow::ConvertDataType(dtype, builder, type); if (s.ok()) *type = UnrankedTensorType::get(*type); return s; } class MlirTensor : public TracingTensorHandle { public: explicit MlirTensor(Value value)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc
// inputs: { // key : "a" // value: { // name : "serving_default_a:0" // dtype: DT_FLOAT // tensor_shape: { // } // } // } // inputs: { // key : "b" // value: { // name : "serving_default_b:0" // dtype: DT_FLOAT // tensor_shape: { // } // } // } // outputs: {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 08:08:45 UTC 2024 - 21.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc
for (auto type : inst.getResultTypes()) if (!mlir::isa<mlir::TensorType, mlir::tf_executor::ControlType, mlir::tf_executor::TokenType>(type)) return errors::InvalidArgument( "Values must be of tensor type, TensorFlow control type, or " "TensorFlow token type. Found ", mlir::debugString(type));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
for (auto type : inst.getResultTypes()) if (!mlir::isa<mlir::TensorType, mlir::tf_executor::ControlType, mlir::tf_executor::TokenType>(type)) return errors::InvalidArgument( "Values must be of tensor type, TensorFlow control type, or " "TensorFlow token type. Found ", mlir::debugString(type));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0)