Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for insert (0.21 sec)

  1. tensorflow/c/c_api.cc

          return;
        }
        desc->colocation_constraints.clear();
        for (const string& location : attr_value.list().s()) {
          desc->colocation_constraints.insert(location);
        }
      } else {
        desc->node_builder.Attr(attr_name, std::move(attr_value));
      }
    
      status->status = absl::OkStatus();
    }
    
    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/c_api_function.cc

                                        " into function '", fn_name, "'");
    
        input_tensors->emplace_back(node, idx);
    
        const auto& iter = input_nodes->find(node);
        if (iter == input_nodes->end()) {
          input_nodes->insert({node, {idx}});
        } else {
          auto& indices = iter->second;
          if (std::find(indices.begin(), indices.end(), idx) != indices.end()) {
            return InvalidArgument("TF_Output ", node->name(), ":", 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)
  3. RELEASE.md

    ## Thanks to our Contributors
    
    This release contains contributions from many people at Google, as well as:
    
    <INSERT>, <NAME>, <HERE>, <USING>, <GITHUB>, <HANDLE>
    
    # Release 2.16.0
    
    ## TensorFlow
    
    <INSERT SMALL BLURB ABOUT RELEASE FOCUS AREA AND POTENTIAL TOOLCHAIN CHANGES>
    
    *   TensorFlow Windows Build:
    
    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)
  4. tensorflow/c/eager/custom_device_test.cc

      TFE_TensorHandle* hcpu = TestMatrixTensorHandle(context);
      ASSERT_FALSE(arrived);
      TFE_TensorHandle* hdevice =
          TFE_TensorHandleCopyToDevice(hcpu, context, name, status.get());
      ASSERT_TRUE(arrived);
      ASSERT_FALSE(executed);
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> matmul(
          MatMulOp(context, hcpu, hdevice), TFE_DeleteOp);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  5. tensorflow/c/env_test.cc

        ASSERT_TF_OK(s) << "TF_GetChildren failed for " << dirpath;
        const char* childpath;
        ASSERT_TRUE(TF_StringStreamNext(children, &childpath));
        ASSERT_EQ(::tensorflow::string(childpath), "somefile.txt");
        // There should only be one file in this directory.
        ASSERT_FALSE(TF_StringStreamNext(children, &childpath));
        ASSERT_EQ(childpath, nullptr);
        TF_StringStreamDone(children);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/gradients/array_grad_test.cc

        status_ = StatusFromTF_Status(status.get());
        ASSERT_EQ(errors::OK, status_.code()) << status_.message();
    
        {
          AbstractContext* ctx_raw = nullptr;
          status_ =
              BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw);
          ASSERT_EQ(errors::OK, status_.code()) << status_.message();
          immediate_execution_ctx_.reset(ctx_raw);
        }
    
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. tensorflow/c/c_test_util.cc

      TF_OperationDescription* desc = TF_NewOperation(graph, "Const", name);
      TF_SetAttrTensor(desc, "value", t, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      TF_SetAttrType(desc, "dtype", TF_TensorType(t));
      *op = TF_FinishOperation(desc, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      ASSERT_NE(*op, nullptr);
    }
    
    TF_Operation* Const(TF_Tensor* t, TF_Graph* graph, TF_Status* s,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  8. ci/official/containers/linux_arm64/devel.usertools/rename_and_verify_wheels.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    
    # Check and rename wheels with auditwheel. Inserts the platform tags like
    # "manylinux_xyz" into the wheel filename.
    set -euxo pipefail
    
    for wheel in /tf/pkg/*.whl; do
      echo "Checking and renaming $wheel..."
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  9. configure.py

        # Check whether all capabilities from the input is valid
        all_valid = True
        # Remove all whitespace characters before splitting the string
        # that users may insert by accident, as this will result in error
        tf_cuda_compute_capabilities = ''.join(tf_cuda_compute_capabilities.split())
        for compute_capability in tf_cuda_compute_capabilities.split(','):
    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)
  10. tensorflow/c/eager/dlpack_test.cc

      TFE_TensorHandle* handle = TFE_HandleFromDLPack(&dlm_in, status, ctx);
      ASSERT_NE(handle, nullptr)
          << TF_Message(status) << " (shape=[" << absl::StrJoin(shape, ",")
          << "], strides=[" << absl::StrJoin(strides, ",") << "])";
    
      auto* dlm_out =
          static_cast<DLManagedTensor*>(TFE_HandleToDLPack(handle, status));
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jun 30 03:04:46 GMT 2023
    - 4.4K bytes
    - Viewed (0)
Back to top