Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

        std::unique_ptr<Graph> g(new Graph(OpRegistry::Global()));
        TF_CHECK_OK(s.ToGraph(g.get()));
        std::cout << "Graph is " << (*g).ToGraphDefDebug().DebugString()
                  << std::endl;
        auto node_name_image = g->BuildNodeNameIndex();
        node_name_image["identity0"]->AddAttr("_oc", "0");
        node_name_image["identity1"]->AddAttr("_oc", "1");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

      }
      if (VLOG_IS_ON(4)) {
        for (Operation* new_control_predecessor : new_control_predecessors) {
            VLOG(4) << "      Adding predecessor op "
                    << mlir::debugString(*new_control_predecessor);
        }
      }
      // Add new control predecessors to map.
      control_predecessors_[op].insert(new_control_predecessors.begin(),
                                       new_control_predecessors.end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-printers.h

                             sizeof(value), os);
      }
    };
    
    // We print a protobuf using its ShortDebugString() when the string
    // doesn't exceed this many characters; otherwise we print it using
    // DebugString() for better readability.
    const size_t kProtobufOneLinerMaxLength = 50;
    
    template <typename T>
    class TypeWithoutFormatter<T, kProtobuf> {
     public:
      static void PrintValue(const T& value, ::std::ostream* os) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-printers.h

                             sizeof(value), os);
      }
    };
    
    // We print a protobuf using its ShortDebugString() when the string
    // doesn't exceed this many characters; otherwise we print it using
    // DebugString() for better readability.
    const size_t kProtobufOneLinerMaxLength = 50;
    
    template <typename T>
    class TypeWithoutFormatter<T, kProtobuf> {
     public:
      static void PrintValue(const T& value, ::std::ostream* os) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_device.cc

      Tensor parsed(tensor_proto.dtype());
      if (!parsed.FromProto(cpu_allocator(), tensor_proto)) {
        return errors::InvalidArgument("Cannot parse tensor from proto: ",
                                       tensor_proto.DebugString());
      }
    
      Status status;
      if (alloc_attrs.on_host()) {
        *tensor = parsed;
      } else {
        Allocator* allocator;
        {
          mutex_lock lock(mu_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.cc

        return;
      }
      if (!ic_dst->MergeInput(dst.index, shape)) {
        status->status = tensorflow::errors::InvalidArgument(
            "Cannot update edge, incompatible shapes: ", ic_dst->DebugString(shape),
            " and ", ic_dst->DebugString(ic_dst->input(dst.index)), ".");
        return;
      }
      status->status = graph->graph.UpdateEdge(&new_src.oper->node, new_src.index,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

            }
          });
    
      for (auto& src_arg : src_arg_pairs) {
        if (guaranteed_const_nodes.count(src_arg.first) != 0) {
          VLOG(1) << "Guaranteed const found: " << src_arg.first->DebugString();
          src_arg.second->AddAttr("_is_guaranteed_constant", true);
        }
      }
    }
    
    struct OutputInputTensorPairHasher {
      uint64 operator()(std::pair<OutputTensor, InputTensor> const& s) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  8. tensorflow/cc/framework/gradients.cc

          TF_RETURN_IF_ERROR(ProcessWhileLoop(n, dy[0]));
          continue;
        }
        // All loop-specific control flow ops should have been handled above
        DCHECK(!n->IsEnter() && !n->IsNextIteration()) << n->DebugString();
    
        const int num_no_grad = no_grad_dy_indices.size();
        if (IsPrimitiveOpWithNoGrad(n->type_string()) || num_no_grad == num_y) {
          // No grad defined for this op, or all outputs returned 'NoGradient':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 22K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

        }
      }
    
      if (dimension_to_splits_map.empty()) {
        return absl::InvalidArgumentError(absl::StrCat(
            "Arg has unnecessary tiled sharding: ", sharding.DebugString()));
      }
    
      return dimension_to_splits_map;
    }
    
    int GetDimsFromXLAShardingTiled(const xla::OpSharding& xla_sharding) {
      return xla_sharding.tile_assignment_dimensions_size() -
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

                << "tensor of type " << ranked_type << " (rank=" << tensor_rank
                << ") sharded in " << (tile_assignment_rank - tensor_rank)
                << " extra dimension(s) by: " << sharding->DebugString();
          }
    
          return mlir::failure();
        }
      }
      return mlir::success();
    }
    
    // Verify sharding for all arguments and return values.
    LogicalResult VerifyShardings(mlir::func::FuncOp func,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top