Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 81 for debugString (0.25 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/jit/device_util.h

          absl::string_view device_name) {
        TF_ASSIGN_OR_RETURN(DeviceId device_id, GetIdFor(device_name));
        return std::cref(*id_to_device_type_[device_id.id()]);
      }
    
      string DebugString(const DeviceSet& device_set) const;
    
     private:
      absl::flat_hash_map<string, DeviceId> name_to_id_;
    
      // These fields are populated for a device in GetIdFor, *before* we give out a
      // DeviceId.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 17:18:31 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

            return errors::Internal("Multiple return node for loop cond function ",
                                    loop_cond_func->name(), ": ",
                                    ret_node->DebugString(), " and ",
                                    n->DebugString());
          } else {
            ret_node = n;
          }
        }
      }
      if (!ret_node) {
        return errors::Internal("No _Retval node for loop cond function ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  5. tensorflow/cc/framework/gradient_checker.cc

                return errors::Internal("Gradient for input ", x_idx,
                                        " expected shape ",
                                        x_shapes[x_idx].DebugString(), " but was ",
                                        dxout[x_idx].shape().DebugString());
              }
              const int64_t x_size = x_shapes[x_idx].num_elements();
              auto jacobian = (*jacobian_ts)[x_idx * y_num + y_idx].matrix<JAC_T>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc

              "TF2XLA TPU bridge input check: invalid no. of tuple shardings ")
              << sharding.tuple_shardings().size()
              << " for arity = " << op->getNumResults() << "\n The sharding is "
              << sharding.DebugString() << "\n";
          return false;
        }
      }
      return true;
    }
    
    bool IsValidMAXIMALSharding(Operation* op, MetadataMap& metadata_map) {
      if (!op->hasAttr(TF::kTpuReplicateAttr)) return true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

      *added_node = node_def;
      EXPECT_EQ(graph_def.DebugString(), graph_def2.DebugString());
    
      // Look up some nodes by name.
      TF_Operation* neg2 = TF_GraphOperationByName(graph, "neg");
      EXPECT_TRUE(neg == neg2);
      NodeDef node_def2;
      ASSERT_TRUE(GetNodeDef(neg2, &node_def2));
      EXPECT_EQ(node_def.DebugString(), node_def2.DebugString());
    
      TF_Operation* feed2 = TF_GraphOperationByName(graph, "feed");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                "not all have the same rank is not supported. One tensor had "
                "shape ",
                first_shape.DebugString(), " and another had shape ",
                component_shape.DebugString()));
          } else {
            // Generalize differing axis lengths to "variable"/"unknown".
            for (int axis_index = 0; axis_index < combined_shape.dims();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 07:47:20 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/build_xla_ops_pass.cc

      TF_RET_CHECK(func_def) << "Could not find " << function_name;
    
      jit::DeviceSet device_set;
    
      for (const NodeDef& ndef : func_def->node_def()) {
        VLOG(3) << ndef.DebugString();
        if (!ndef.device().empty()) {
          TF_ASSIGN_OR_RETURN(jit::DeviceId device_id,
                              device_info_cache->GetIdFor(ndef.device()));
          device_set.Insert(device_id);
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

      opt_options.flib_def = &flib_def;
    
      BuildXlaOpsPass pass(/*enable_lazy_compilation=*/true);
      TF_RETURN_IF_ERROR(pass.Run(opt_options));
      VLOG(3) << graph->ToGraphDefDebug().DebugString();
      *result = std::move(graph);
      return absl::OkStatus();
    }
    
    Status MakeXlaCompiledKernel(Graph* graph, const string& callee_name,
                                 const string& node_name, int num_constant_args,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top