Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for total (0.14 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_TF_META("v", list.size(), TF_ATTR_STRING, list_total_size);
      std::unique_ptr<void*[]> values(new void*[list.size()]);
      std::unique_ptr<size_t[]> lens(new size_t[list.size()]);
      std::unique_ptr<char[]> storage(new char[list_total_size]);
      TF_OperationGetAttrStringList(oper, "v", values.get(), lens.get(),
                                    list.size(), storage.get(), list_total_size,
                                    s_);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/c_api.cc

              s, TF_ATTR_STRING, metadata.total_size = 0;
              for (int i = 0; i < attr->list().s_size();
                   ++i) { metadata.total_size += attr->list().s(i).size(); });
          LIST_CASE(i, TF_ATTR_INT);
          LIST_CASE(f, TF_ATTR_FLOAT);
          LIST_CASE(b, TF_ATTR_BOOL);
          LIST_CASE(type, TF_ATTR_TYPE);
          LIST_CASE(
              shape, TF_ATTR_SHAPE, metadata.total_size = 0;
    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)
  3. tensorflow/c/eager/tape.h

              {"SparseSoftmaxCrossEntropyWithLogits", {1}},
              {"FusedBatchNorm", {1, 2, 3, 4}},
          });
      return m;
    }
    
    }  // namespace
    
    // If over kMinAggregateCount gradients are accumulated and the total
    // memory consumption is over kMinAggregateBytes, do an early aggregation
    // so as to release the gradient tensor to save memory.
    constexpr int kMinAggregateCount = 4;
    constexpr int kMinAggregateBytes = 128 * 1024 * 1024;
    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)
  4. RELEASE.md

        `with_values` function of `RaggedTensor`.
    *   Adds `StatelessCase` op, and uses it if none of case branches has stateful
        ops.
    *   Adds `tf.config.experimental.get_memory_usage` to return total memory usage
        of the device.
    *   Adds gradients for `RaggedTensorToVariant` and `RaggedTensorFromVariant`.
    *   Improve shape inference of nested function calls by supporting constant
    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)
Back to top