Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 81 for debugString (0.14 sec)

  1. tensorflow/compiler/jit/deadness_analysis.h

      // Prints out the internal state of this instance.  For debugging purposes
      // only.
      virtual void Print() const = 0;
      virtual ~DeadnessAnalysis();
    
      string DebugString(DeadnessPredicate predicate) const;
    
      // Run the deadness analysis over `graph` and returns an error or a populated
      // instance of DeadnessAnalysis in `result`.
      static Status Run(const Graph& graph,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/jit/device_context_test.cc

      TF_ASSERT_OK(device_context_->CopyDeviceTensorToCPUSync(
          &device_tensor, "", device_.get(), &dest_cpu_tensor));
      LOG(INFO) << "H2D - D2H roundtrip completes. tensor: "
                << dest_cpu_tensor.DebugString(4);
    
      tensorflow::test::ExpectClose(origin_cpu_tensor, dest_cpu_tensor);
    }
    #endif
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/test_matchers.h

      if (graph_analysis_failure) {
        return testing::ExplainMatchResult(testing::IsTrue(),
                                           graph_analysis_failure, result_listener);
      }
      auto proto = arg.value().computation->proto().DebugString();
      return testing::ExplainMatchResult(testing::ContainsRegex(regex), proto,
                                         result_listener);
    }
    
    MATCHER_P(
        HasMlirModuleWith, expected,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 19 22:54:26 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/c/checkpoint_reader.h

    // variables.
    class CheckpointReader {
     public:
      CheckpointReader(const string& filename, TF_Status* status);
    
      bool HasTensor(const string& name) const;
      const string DebugString() const;
    
      // Returns a map from variable names to their shapes.  Slices of a partitioned
      // tensor are combined into a single entry.
      const TensorSliceReader::VarToShapeMap& GetVariableToShapeMap() const;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/abstract_tensor_handle.h

      virtual tensorflow::FullTypeDef FullType() const = 0;
    
      // The default debug string includes a shape, dtype and FullType.
      // Implementations are free to override it with something more informative.
      virtual std::string DebugString() const;
    
      AbstractTensorHandleKind getKind() const { return kind_; }
    
     private:
      const AbstractTensorHandleKind kind_;
    };
    
    namespace internal {
    struct AbstractTensorHandleDeleter {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 00:30:36 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_kernel_creator.cc

      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();
    
      // Get function body, constant args, and resource args.
      NameAttrList function;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 22:24:01 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device.cc

                status, TF_INVALID_ARGUMENT,
                absl::StrCat(
                    "Got a non-parallel tensor ",
                    tensorflow::unwrap(absl::get<TFE_TensorHandle*>(input))
                        ->DebugString(),
                    " as input to a parallel operation. First pack non-parallel "
                    "tensors for each device into a parallel tensor explicitly.")
                    .c_str());
            return absl::nullopt;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 29 22:05:31 UTC 2023
    - 18.3K bytes
    - Viewed (0)
Back to top