Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Hummer (0.16 sec)

  1. tensorflow/c/c_api.cc

            InvalidArgument("Node ", node->name(), " was not found in the graph");
        return -1;
      }
    
      tensorflow::shape_inference::ShapeHandle shape = ic->output(output.index);
    
      // Unknown rank means the number of dimensions is -1.
      if (!ic->RankKnown(shape)) {
        return -1;
      }
    
      return ic->Rank(shape);
    }
    
    void TF_GraphGetTensorShape(TF_Graph* graph, TF_Output output, int64_t* dims,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradients.cc

        forward_op_->outputs.push_back(retvals[i]);
      }
      // TODO(b/166669239): This is needed to support AttrBuilder::Get for string
      // attributes. Number type attrs and DataType attrs work fine without this.
      // Consider getting rid of this and making the behavior between number types
      // and string consistent.
      forward_op_->attrs.BuildNodeDef();
      std::unique_ptr<GradientFunction> gradient_fn;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.h

    // executed in sequence. Assigning nodes to different executors allows executing
    // nodes in parallel.
    // in_flight_nodes_limit: when is_async is true, this value controls the
    // maximum number of in flight async nodes. Enqueuing of additional async ops
    // after the limit is reached blocks until some inflight nodes finishes.
    // The effect is bounding the memory held by inflight TensorHandles that are
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  4. RELEASE.md

    *   Fixes a number of `CHECK`-failures in `MapStage`
        ([CVE-2022-21734](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21734))
    *   Fixes a division by zero in `FractionalMaxPool`
        ([CVE-2022-21735](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21735))
    *   Fixes a number of `CHECK`-fails when building invalid/overflowing tensor
        shapes
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  5. tensorflow/BUILD

    filegroup(
        name = "tensorflow_def_file",
        srcs = [":tf_custom_op_library_additional_deps.dll"],
        output_group = "def_file",
    )
    
    # Filter the DEF file to reduce the number of symbols to 64K or less.
    # Note that we also write the name of the pyd file into DEF file so that
    # the dynamic libraries of custom ops can find it at runtime.
    genrule(
        name = "tensorflow_filtered_def_file",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  6. tensorflow/c/c_api_experimental.cc

      if (input_arg.number_attr().empty()) {
        status->status = tensorflow::errors::NotFound(
            op_name, " does not have number_attr() defined.");
        return nullptr;
      }
    
      // The returned string is owned by OpRegistry, so liveness is not a concern.
      return input_arg.number_attr().c_str();
    }
    
    int TF_OpIsStateful(const char* op_type, TF_Status* status) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/tape.h

    // into python now.
    template <typename Gradient, typename BackwardFunction, typename TapeTensor>
    class VSpace {
     public:
      virtual ~VSpace() {}
    
      // Returns the number of elements in the gradient tensor.
      virtual int64_t NumElements(Gradient* tensor) const = 0;
    
      // Consumes references to the tensors in the gradient_tensors list and returns
      // a tensor with the result.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  8. configure.py

      elif var:
        write_to_bazelrc('build --config=%s' % bazel_config_name)
      environ_cp[var_name] = str(var)
    
    
    def convert_version_to_int(version):
      """Convert a version number to a integer that can be used to compare.
    
      Version strings of the form X.YZ and X.Y.Z-xxxxx are supported. The
      'xxxxx' part, for instance 'homebrew' on OS/X, is ignored.
    
      Args:
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  9. tensorflow/c/c_api_function.cc

    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/graph/graph.h"
    #include "tensorflow/core/platform/base64.h"
    #include "tensorflow/core/platform/strcat.h"
    #include "tensorflow/core/util/debug_data_dumper.h"
    
    using tensorflow::errors::InvalidArgument;
    
    namespace tensorflow {
    namespace {
    
    Status ValidateNonRefOutput(const Node* node, int idx) {
      const DataType& dt = node->output_type(idx);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  10. tensorflow/c/eager/gradient_checker.cc

          theta_inputs[input_index];  // parameter we are grad checking
    
      // Convert from AbstractTensor to TF_Tensor.
      TF_Tensor* theta_tensor;
      TF_RETURN_IF_ERROR(GetValue(theta, &theta_tensor));
    
      // Get number of elements and fill data.
      int num_elems = TF_TensorElementCount(theta_tensor);
      vector<float> theta_data(num_elems);
      memcpy(theta_data.data(), TF_TensorData(theta_tensor),
             TF_TensorByteSize(theta_tensor));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top