Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 65 for debugString (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/jit/encapsulate_util.cc

            *src_outside_compilation != *dst_outside_compilation) {
          edges.push_back(EdgeInfo{e->dst_input(), e->dst()->id()});
          VLOG(4) << "Oc -> oc edge: " << e->DebugString();
        }
      }
    
      // Remove the edge from host to outside compilation. Add a placeholder as
      // outside compilation node input.
      std::map<std::pair<string, int>, Node*> placeholders;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

        mlir::Type type = arg.getType();
        if (!mlir::isa<mlir::TensorType>(type)) {
          return errors::InvalidArgument(
              "FuncOps arguments must have tensor types. Found ",
              mlir::debugString(type), " in function ", function.getName().str());
        }
    
        TF_RETURN_IF_ERROR(exporter.AddArgumentNode(
            arg, index, !input_names.empty() ? input_names[index] : ""));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

        mlir::Type type = arg.getType();
        if (!mlir::isa<mlir::TensorType>(type)) {
          return errors::InvalidArgument(
              "FuncOps arguments must have tensor types. Found ",
              mlir::debugString(type), " in function ", function.getName().str());
        }
    
        TF_RETURN_IF_ERROR(exporter.AddArgumentNode(
            arg, index, !input_names.empty() ? input_names[index] : ""));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. tensorflow/c/while_loop_test.cc

        DCHECK_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        GraphDef def;
        bool success = def.ParseFromArray(buf->data, buf->length);
        DCHECK(success);
        TF_DeleteBuffer(buf);
        return def.DebugString();
      }
    
      TF_Status* s_;
      TF_Graph* graph_;
      std::vector<TF_Output> inputs_;   // The inputs to the while loop
      std::vector<TF_Output> outputs_;  // The final outputs of the while loop
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.cc

            TF_SetStatus(
                status, TF_UNIMPLEMENTED,
                tensorflow::strings::StrCat("Unable to get setfor default value: ",
                                            default_value.DebugString())
                    .data());
          }
        } break;
        case tensorflow::AttrValue::kTensor:
          TF_FALLTHROUGH_INTENDED;
        case tensorflow::AttrValue::kPlaceholder:
          TF_FALLTHROUGH_INTENDED;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top