Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ShortDebugString (0.29 sec)

  1. tensorflow/compiler/jit/compilability_check_util_test.cc

      const auto uncompilable_nodes =
          checker_->FindUncompilableNodes(*uncompilable_op, flib_runtime);
      ASSERT_EQ(1, uncompilable_nodes.size());
      auto node_info_it =
          uncompilable_nodes.find(NameAttrList().ShortDebugString());
      ASSERT_NE(uncompilable_nodes.end(), node_info_it);
      const auto& uncompilable_nodes_inside_function = node_info_it->second.second;
      ASSERT_EQ(1, uncompilable_nodes_inside_function.size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_kernel_creator.cc

                                  const NodeDef& node_def,
                                  std::unique_ptr<OpKernel>* kernel) {
      if (!CanCreateXlaKernel(node_def)) {
        return errors::Internal("Invalid node: ", node_def.ShortDebugString());
      }
    
      VLOG(3) << "Attempting to create XlaLaunchOp for " << node_def.DebugString();
    
      // Make sure that kernels have been registered on the JIT device.
      XlaOpRegistry::RegisterCompilationKernels();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 22:24:01 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

        std::string new_shape_string = value.list().shape(0).ShortDebugString();
        if (actual_shape.ShortDebugString() != new_shape_string) {
          return errors::InvalidArgument("Expected ", new_shape_string, " '", name,
                                         "' attribute but found ",
                                         actual_shape.ShortDebugString());
        }
      }
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. tensorflow/cc/tools/freeze_saved_model_test.cc

    namespace tensorflow {
    namespace {
    
    class FreezeTest : public ::testing::Test {
     protected:
      void GraphDefEqual(const GraphDef& actual, const GraphDef& expected) {
        EXPECT_EQ(actual.ShortDebugString(), expected.ShortDebugString());
      }
    
      // Builds a SignatureDef with the provided `inputs` and `outputs`.
      SignatureDef BuildSignatureDef(const std::unordered_set<string>& inputs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 13:30:31 UTC 2022
    - 21.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

              state_->types.push_back(type);
            }
          } else {
            return InvalidArgument("Missing type or type_attr field in ",
                                   output_arg.ShortDebugString());
          }
        } else if (!output_arg.type_attr().empty()) {
          Attribute attr = attrs_[output_arg.type_attr()];
          if (!attr)
            return InvalidArgument("Missing attribute '", output_arg.type_attr(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/compilability_check_util.h

      // value is a pair of NameAttrList of the function and a vector of
      // uncompilable node info. When uncompilable node is not inside any
      // function call nodes, then key is a ShortDebugString() of an empty
      // NameAttrList.
      //
      // Also, when `node` is inside a function body, users can set
      // `node_stack_trace` to provide an additional context for `node`'s
      // placement within the outer most graph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-printers.h

        PrintBytesInObjectTo(reinterpret_cast<const unsigned char*>(&value),
                             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>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-printers.h

        PrintBytesInObjectTo(reinterpret_cast<const unsigned char*>(&value),
                             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>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_cluster_util.cc

            continue;
          }
    
          Node* incoming_node = incoming_edge->src();
          if (IsRefType(incoming_node->output_type(incoming_edge->src_output()))) {
            VLOG(2) << "Node " << node.def().ShortDebugString() << " has ref input "
                    << incoming_node->name() << " " << incoming_node->type_string();
            return true;
          }
        }
      }
      return false;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/compilability_check_util.cc

                        });
    
      node_info.name = std::string(stack_trace.back().name);
      auto function =
          encapsulating_function ? *encapsulating_function : NameAttrList();
      auto function_identifier = function.ShortDebugString();
    
      auto it = uncompilable_nodes->find(function_identifier);
      if (it == uncompilable_nodes->end()) {
        std::vector<RecursiveCompilabilityChecker::UncompilableNodeInfo>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top