Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/c/c_api_function_test.cc

      EXPECT_EQ(op_def.input_arg_size(), 0);
      EXPECT_EQ(op_def.output_arg_size(), 1);
      EXPECT_TRUE(op_def.is_stateful());
    
      TF_DeleteBuffer(buffer);
    }
    
    void AssertEqual(TF_Function* f1, TF_Function* f2) {
      string s1, s2;
      tensorflow::FunctionDef fdef1, fdef2;
      ASSERT_TRUE(GetFunctionDef(f1, &fdef1));
      ASSERT_TRUE(GetFunctionDef(f2, &fdef2));
      SerializeToStringDeterministic(fdef1, &s1);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  2. tensorflow/c/c_api_test.cc

          found_scalar_const = true;
        } else if (IsAddN(n, 2)) {
          EXPECT_FALSE(found_add);
          found_add = true;
        } else {
          ADD_FAILURE() << "Unexpected NodeDef: " << n.DebugString();
        }
      }
      EXPECT_TRUE(found_placeholder);
      EXPECT_TRUE(found_scalar_const);
      EXPECT_TRUE(found_add);
    
      // Add another oper to the graph.
      TF_Operation* neg = Neg(add, graph, s);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  3. tensorflow/BUILD

            "dynamic_loaded_kernels": "true",
            "framework_shared_object": "true",
        },
        visibility = ["//visibility:public"],
    )
    
    config_setting(
        name = "using_rocm_hipcc",
        define_values = {"using_rocm_hipcc": "true"},
    )
    
    config_setting(
        name = "override_eigen_strong_inline",
        define_values = {"override_eigen_strong_inline": "true"},
        visibility = ["//visibility:public"],
    )
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (6)
  4. tensorflow/c/eager/c_api_test.cc

        ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
        const char* device_name = TFE_OpGetDevice(matmul, status);
        ASSERT_TRUE(strstr(device_name, "GPU:0") != nullptr);
    
        TFE_OpSetDevice(matmul, "CPU:0", status);
        ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
        device_name = TFE_OpGetDevice(matmul, status);
        ASSERT_TRUE(strstr(device_name, "CPU:0") != nullptr);
      }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    }
    
    TEST_P(ModularFileSystemTest, TestFilesExistsNoFiles) {
      const std::vector<std::string> filenames = {};
      EXPECT_TRUE(env_->FilesExist(filenames, /*status=*/nullptr));
    
      std::vector<Status> statuses;
      EXPECT_TRUE(env_->FilesExist(filenames, &statuses));
      EXPECT_TRUE(statuses.empty());
    }
    
    TEST_P(ModularFileSystemTest, TestStatEmptyFile) {
      const std::string filepath = GetURIForPath("a_file");
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/filesystem_interface.h

      void (*path_exists)(const TF_Filesystem* filesystem, const char* path,
                          TF_Status* status);
    
      /// Checks if all values in `paths` exist in the filesystem.
      ///
      /// Returns `true` if and only if calling `path_exists` on each entry in
      /// `paths` would set `status` to `TF_OK`.
      ///
      /// Caller guarantees that:
      ///   * `paths` has exactly `num_files` entries.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.h

    typedef struct TF_AttrMetadata {
      // A boolean: 1 if the attribute value is a list, 0 otherwise.
      unsigned char is_list;
    
      // Length of the list if is_list is true. Undefined otherwise.
      int64_t list_size;
    
      // Type of elements of the list if is_list != 0.
      // Type of the single value stored in the attribute if is_list == 0.
      TF_AttrType type;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  8. .bazelrc

    build:mkl --define=build_with_mkl=true --define=enable_mkl=true
    build:mkl --define=tensorflow_mkldnn_contraction_kernel=0
    build:mkl --define=build_with_openmp=true
    build:mkl -c opt
    
    # config to build OneDNN backend with a user specified threadpool.
    build:mkl_threadpool --define=build_with_mkl=true --define=enable_mkl=true
    build:mkl_threadpool --define=tensorflow_mkldnn_contraction_kernel=0
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 23 01:21:54 GMT 2024
    - 53.4K bytes
    - Viewed (2)
  9. configure.py

      else:
        question += ' [y/N]: '
    
      var = environ_cp.get(var_name)
      if var is not None:
        var_content = var.strip().lower()
        true_strings = ('1', 't', 'true', 'y', 'yes')
        false_strings = ('0', 'f', 'false', 'n', 'no')
        if var_content in true_strings:
          var = True
        elif var_content in false_strings:
          var = False
        else:
          raise UserInputError(
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top