Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for debugString (0.25 sec)

  1. tensorflow/compiler/jit/xla_device_context.cc

              << " "
              << reinterpret_cast<const void*>(device_tensor->tensor_data().data())
              << " " << cpu_tensor->NumElements() << " "
              << cpu_tensor->shape().DebugString() << " "
              << device_tensor->shape().DebugString();
    
      XlaTensor* xla_tensor = XlaTensor::FromTensor(device_tensor);
      CHECK(xla_tensor);
    
      XlaLayoutPreference layout_preference =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/convert_type.cc

          case 64:
            *dtype = itype.isUnsigned() ? DT_UINT64 : DT_INT64;
            return absl::OkStatus();
          default:
            return errors::Unimplemented(
                absl::StrCat("Converting ", debugString(type), " to DataType"));
        }
      } else if (auto complex_type = mlir::dyn_cast<mlir::ComplexType>(type)) {
        auto etype = complex_type.getElementType();
        if (etype.isF32()) {
          *dtype = DT_COMPLEX64;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc

            attrs.push_back(attr);
          }
          if (!value.list().func().empty()) {
            return tensorflow::errors::Unimplemented(
                absl::StrCat("Attribute ", value.DebugString()));
          }
          return builder->getArrayAttr(llvm::ArrayRef(attrs.begin(), attrs.end()));
        }
        case AttrValue::VALUE_NOT_SET:
          return builder->getUnitAttr();
        // kPlaceholder is not implemented.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental.cc

      tensorflow::mutex_lock c(graph->mu);
      const auto& debug_str = graph->graph.ToGraphDefDebug().DebugString();
      *len = debug_str.size();
      char* ret = static_cast<char*>(malloc(*len + 1));
      memcpy(ret, debug_str.c_str(), *len + 1);
      return ret;
    }
    
    char* TF_FunctionDebugString(TF_Function* func, size_t* len) {
      const auto& debug_str = DebugString(func->record->fdef());
      *len = debug_str.size();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/stablehlo/quantization.cc

            "be nullptr.");
      }
    
      LOG(INFO) << "User-provided quantization config: "
                << quantization_config.DebugString();
      const QuantizationConfig updated_config =
          ExpandPresets(PopulateDefaults(quantization_config));
      LOG(INFO) << "Updated quantization config: " << updated_config.DebugString();
    
      const absl::flat_hash_map<std::string, SignatureDef> signature_def_map =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 10:49:12 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_launch_util.cc

      Allocator* allocator = ctx->device()->GetAllocator({});
    
      // Computation output should always be a tuple.
      VLOG(2) << "Result tuple shape: " << output.on_host_shape().DebugString();
      VLOG(2) << "Result tuple shape (on device): "
              << output.on_device_shape().DebugString();
      CHECK_EQ(ctx->num_outputs(), compilation_result->outputs.size());
    
      // If the on-host-shape isn't a tuple, create a new single-element tuple
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/shape_inference.cc

            }
          }
          VLOG(4) << node->name() << " output " << i << " shape"
                  << output.shape.DebugString() << " handle_type "
                  << DataTypeString(output.handle_type) << " handle_shape "
                  << output.handle_shape.DebugString();
        }
      }
      return absl::OkStatus();
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. tensorflow/c/kernels_experimental.cc

                    InvalidArgument(
                        "Trying to assign to variable with tensor with wrong shape."
                        " Expected ",
                        variable->tensor()->shape().DebugString(), " got ",
                        value.shape().DebugString()));
      }
    
      if (variable->copy_on_read_mode.load()) {
        tensorflow::Tensor tmp;
        tensorflow::AllocatorAttributes attr;
        attr.set_gpu_compatible(true);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold_utils.cc

          },
          fallback_state.device_manager(),
          fallback_state.process_function_library_runtime());
      RETURN_FAILURE_IF_ERROR(runner.status());
    
      VLOG(1) << "Start to evaluate node: " << node_def->get()->DebugString();
    
      std::vector<tensorflow::Tensor> inputs;
    
      // Adds inputs to the TF operation.
      for (const ElementsAttr& operand : operands) {
        tensorflow::Tensor tensor;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc

      InputArrays inputs;
      ss << "\ninputs: ";
      for (auto& it : inputs) {
        ss << "\n\t" << it.first << " -> "
           << DataTypeString(it.second.imported_dtype) << " "
           << it.second.shape.DebugString();
      }
      ss << "\noutputs:";
      for (auto& output : outputs) ss << " " << output;
      ss << "\ncontrol_outputs:";
      for (auto& output : control_outputs) ss << " " << output;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top