Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for enid (0.17 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

          begin += offset - pos;
        }
        auto end = data.end();
        if (pos + data.size() > offset + n) {
          // The block extends past the end of the slice we're reading.
          end -= (pos + data.size()) - (offset + n);
        }
        if (begin < end) {
          size_t bytes_to_copy = end - begin;
          memcpy(&buffer[total_bytes_transferred], &*begin, bytes_to_copy);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_macros.h

    #endif  // TF_Bool
    
    // Macro used to calculate struct size for maintaining ABI stability across
    // different struct implementations.
    #ifndef TF_OFFSET_OF_END
    #define TF_OFFSET_OF_END(TYPE, MEMBER) \
      (offsetof(TYPE, MEMBER) + sizeof(((TYPE *)0)->MEMBER))
    #endif  // TF_OFFSET_OF_END
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 04:44:45 GMT 2023
    - 1.6K bytes
    - Viewed (1)
  3. ci/official/envs/disk_cache

    # Sourcing this enables local disk cache
    if [[ $(uname -s) == "Darwin" ]]; then
      echo "Please note that using disk cache on macOS is not recommended because the"
      echo "cache can end up being pretty big and make the build process inefficient."
    fi
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 1023 bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

            return std::find(user_schemes->begin(), user_schemes->end(), scheme) ==
                   user_schemes->end();
          };
          auto end = std::remove_if(all_schemes->begin(), all_schemes->end(),
                                    is_requested_scheme);
          all_schemes->erase(end, all_schemes->end());
        }
      }
    
      return all_schemes;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

            }
            // Verify the contents of the read.
            std::vector<char>::const_iterator begin = buf.begin() + offset;
            std::vector<char>::const_iterator end =
                offset + n > buf.size() ? buf.end() : begin + n;
            std::vector<char> want(begin, end);
            EXPECT_EQ(got, want) << "block size = " << block_size
                                 << ", offset = " << offset << ", n = " << n;
          }
        }
      }
    }
    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)
  6. tensorflow/c/eager/c_api_experimental_test.cc

        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
                              remote_device) != device_names.end());
      }
    
      {
        const std::vector<std::string>& device_names = ListDeviceNames(ctx_1);
        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
                              remote_device) != device_names.end());
      }
    
      // Create a variable using `ctx_0`.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  7. tensorflow/c/eager/c_api_test.cc

        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
                              remote_device) != device_names.end());
      }
    
      {
        const std::vector<std::string>& device_names = ListDeviceNames(ctx_1);
        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
                              remote_device) != device_names.end());
      }
    
      // Create a variable using `ctx_0`.
    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)
  8. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    # Test-related settings below this point.
    test --build_tests_only --keep_going --test_output=errors --verbose_failures=true
    test --test_timeout=500,900,-1,-1
    # Give only the list of failed tests at the end of the log
    test --test_summary=short
    
    # "nonpip" tests are regular py_test tests.
    # Pass --config=nonpip to run the same suite of tests. If you want to run just
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_internal.h

    inline void TF_ImportGraphDefOptionsSetPropagateDeviceSpec(
        TF_ImportGraphDefOptions* opts, unsigned char propagate_device_spec) {
      opts->opts.propagate_device_spec = propagate_device_spec;
    }
    
    }  // end namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_test.cc

        const OpDefs& ops = op_list.op();
        bool found = std::find_if(ops.begin(), ops.end(),
                                  [](const tensorflow::OpDef& op_def) {
                                    return op_def.name() == "TestCApi";
                                  }) != ops.end();
        EXPECT_TRUE(found);
        TF_DeleteBuffer(op_list_buffer);
      }
    }
    
    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)
Back to top