Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Mine (0.16 sec)

  1. tensorflow/c/eager/c_api_cluster_test.cc

      EXPECT_NE(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // Even after the prevoiusly failed cluster update, another update and op
      // execution should work fine as long as the provided server_def is valid.
      TFE_ContextUpdateServerDef(ctx, 0, serialized.data(), serialized.size(),
                                 status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

        ASSERT_EQ(src.NumElements(), output.NumElements()) << line;
        for (int64_t i = 0; i < src.NumElements(); ++i) {
          ASSERT_EQ(data[i], output.flat<tstring>()(i)) << line;
        }
    
        TF_DeleteTensor(dst);
      }
    }
    
    TEST(CAPI, TensorEncodeDecodeStrings) {
      TestEncodeDecode(__LINE__, {});
      TestEncodeDecode(__LINE__, {"hello"});
      TestEncodeDecode(__LINE__,
    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)
  3. tensorflow/c/experimental/gradients/tape/tape_operation.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();
      // TODO(b/170307493): Populate skip_input_indices here.
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      };
      tf_gcs_filesystem::RamFileBlockCache cache(block_size, block_size, 0,
                                                 fetcher);
      std::vector<char> out;
      // Reading the first 16 bytes should be fine.
      TF_EXPECT_OK(ReadCache(&cache, "", 0, block_size, &out));
      EXPECT_TRUE(first_block);
      EXPECT_EQ(out.size(), block_size);
      // Reading at offset file_size + 4 will read the second block (since the read
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    #include "tensorflow/core/lib/io/path.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/stacktrace_handler.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/util/command_line_flags.h"
    
    #if defined(PLATFORM_WINDOWS)
    // Make mkdir resolve to _mkdir to create the test temporary directory.
    #include <direct.h>
    #define mkdir(name, mode) _mkdir(name)
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test.cc

      const int BUFFER_SIZE = 10;
      char buffer[BUFFER_SIZE];
      std::strncpy(buffer, "VALID", BUFFER_SIZE);
      TFE_OpSetAttrString(op, "padding", buffer, std::strlen(buffer));
      // Overwriting value in "buffer", should be fine since TFE_Op
      // shouldn't be holding on to it.
      std::strncpy(buffer, "NHWC", BUFFER_SIZE);
      TFE_OpSetAttrString(op, "data_format", buffer, std::strlen(buffer));
    
      TFE_OpSetAttrType(op, "T", TF_FLOAT);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  7. 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)
  8. tensorflow/c/eager/custom_device_test.cc

          TFE_DeleteTensorHandle);
      ASSERT_TRUE(arrived);
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
      // Base case: two CPU inputs executes fine.
      std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> matmul(
          MatMulOp(context.get(), hcpu.get(), hcpu.get()), TFE_DeleteOp);
      TFE_TensorHandle* retval;
      int num_retvals = 1;
    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)
  9. tensorflow/c/c_api_function_test.cc

    // DataType value of DT_INVALID signifies that we don't want to
    // check the data type.
    typedef std::pair<string, DataType> IOSpec;
    
    const char* kFeedStackToString = "File \"feed.cc\", line 10, in alpha";
    const char* kNegStackToString = "File \"neg.cc\", line 15, in beta";
    
    std::vector<IOSpec> M(const std::initializer_list<string>& names) {
      std::vector<IOSpec> v;
      for (const string& name : names) {
        v.push_back(IOSpec(name, DT_INVALID));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top