Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Min (0.13 sec)

  1. tensorflow/c/c_api_test.cc

      if (!device.empty()) {
        LOG(INFO) << "Setting op Min on device " << device;
      }
      TF_Operation* min = MinWithDevice(feed, one, graph, device, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Run the graph.
      csession.SetInputs({{feed, Int32Tensor({3, 2, 5})}});
      csession.SetOutputs({min});
      csession.Run(s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(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

            InvalidArgument("Attribute '", attr_name, "' is not a string");
        return;
      }
      if (max_length <= 0) {
        return;
      }
      const auto& s = attr->s();
      std::memcpy(value, s.data(), std::min<size_t>(s.length(), max_length));
    }
    
    void TF_OperationGetAttrStringList(TF_Operation* oper, const char* attr_name,
                                       void** values, size_t* lengths,
    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/c_api_experimental.cc

        // false, it is safe to keep these flag values as is.
        tensorflow::MarkForCompilationPassFlags* flags =
            tensorflow::GetMarkForCompilationPassFlags();
        flags->tf_xla_cpu_global_jit = true;
        flags->tf_xla_min_cluster_size = 1;
      } else {
        optimizer_options->set_global_jit_level(tensorflow::OptimizerOptions::OFF);
      }
    }
    
    unsigned char TF_SetXlaEnableLazyCompilation(unsigned char enable) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test_util.cc

      return th;
    }
    
    TFE_Op* MinOp(TFE_Context* ctx, TFE_TensorHandle* input,
                  TFE_TensorHandle* axis) {
      TF_Status* status = TF_NewStatus();
    
      TFE_Op* op = TFE_NewOp(ctx, "Min", status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(op, input, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(op, axis, status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  5. RELEASE.md

            `tf.quantization.fake_quant_with_min_max_args`,
            `tf.quantization.fake_quant_with_min_max_args_gradient`,
            `tf.quantization.fake_quant_with_min_max_vars`,
            `tf.quantization.fake_quant_with_min_max_vars_gradient`,
            `tf.quantization.fake_quant_with_min_max_vars_per_channel`,
            `tf.quantization.fake_quant_with_min_max_vars_per_channel_gradient`.
    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)
  6. configure.py

      write_action_env_to_bazelrc('ANDROID_NDK_VERSION', ndk_version)
    
      # Now grab the NDK API level to use. Note that this is different from the
      # SDK API level, as the NDK API level is effectively the *min* target SDK
      # version.
      meta = open(os.path.join(android_ndk_home_path, 'meta/platforms.json'))
      platforms = json.load(meta)
      meta.close()
      aliases = platforms['aliases']
    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)
  7. tensorflow/c/c_api_function.cc

                             TF_Status* status) {
      tensorflow::FunctionDefLibrary lib;
      {
        tensorflow::mutex_lock l(g->mu);
        lib = g->graph.flib_def().ToProto();
      }
      const auto len = std::min(max_func, static_cast<int>(lib.function_size()));
      for (int i = 0; i < len; ++i) {
        TF_Function* func = new TF_Function();
        func->record = new tensorflow::FunctionRecord(lib.function(i), {}, false);
        funcs[i] = func;
    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)
  8. .bazelrc

    # ARM64 PYCPP
    # In Linux Arm64 presubmit/continuous build, we cross-compile the binaries on
    # Linux x86 so that we can use RBE. Since tests still need to run on the single
    # host Arm64 machine, the build becomes too slow (~30 min) to be a presubmit.
    # For testing purposes, we want to see the runtime performance of an
    # experimental job that is build-only, i.e, we only build the test targets and
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
Back to top