Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/compile/internal/abt/avlint32_test.go

    	}
    	i = ii
    	return
    }
    
    func (t *T) DebugString() string {
    	if t.root == nil {
    		return ""
    	}
    	return t.root.DebugString(0)
    }
    
    // DebugString prints the tree with nested information
    // to allow an eyeball check on the tree balance.
    func (t *node32) DebugString(indent int) string {
    	s := ""
    	if t.left != nil {
    		s = s + t.left.DebugString(indent+1)
    	}
    	for i := 0; i < indent; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 11 16:34:41 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  2. tensorflow/c/ops_test.cc

                                             status);
      EXPECT_EQ("[10,20,30]", c.DebugString(s1));
      EXPECT_EQ(TF_OK, TF_GetCode(status));
    
      TF_ShapeInferenceContextWithRankAtLeast(C_CTX(&c), C_SHP(&in0), 3, C_SHP(&s1),
                                              status);
      EXPECT_EQ("[10,20,30]", c.DebugString(s1));
      EXPECT_EQ(TF_OK, TF_GetCode(status));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

                VLOG(2) << "  used by: " << debugString(*result_user);
              }
            }
          }
          continue;
        }
    
        auto assign_op = llvm::dyn_cast<TF::AssignVariableOp>(*result.user_begin());
        if (!assign_op) {
          VLOG(2) << "TPUMergeVariablesWithExecutePass: Skipping non-assign op: "
                  << debugString(*result.user_begin());
          continue;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

            args.DebugString()));
      }
    
      const StructuredValue& kwargs = args_kwargs_tuple.values(1);
      if (!kwargs.has_dict_value()) {
        return absl::FailedPreconditionError(absl::StrCat(
            "SignatureDefFunction's canonicalized_input_signature's kwargs"
            "should be a dictionary, but instead got: \n",
            kwargs.DebugString()));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/jit/device_executable_persistor.h

      if (!AreSerializedProtosEqual(key, entry.key())) {
        VLOG(2) << "Serialized cache key does not match:\n"
                << "got:\n"
                << entry.key().DebugString() << "\nexpected:\n"
                << key.DebugString() << "\n";
        return errors::InvalidArgument("Serialized cache key does not match.");
      }
    
      // Perform a stricter (slower) check of the snapshot to verify that they
      // match exactly.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top