Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for sargument (0.22 sec)

  1. tensorflow/c/c_api_test.cc

      TF_GraphGetTensorShape(graph, feed_out_0, returned_dims, 5, s);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)) << TF_Message(s);
    
      // Try to set an invalid shape (cannot change 2x3 to a 2x5).
      dims[1] = 5;
      TF_GraphSetTensorShape(graph, feed_out_0, dims, 2, s);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)) << TF_Message(s);
    
      // Test for a scalar.
      TF_Operation* three = ScalarConst(3, graph, 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/experimental/filesystem/BUILD

    tf_cc_test(
        name = "modular_filesystem_test",
        size = "small",
        srcs = ["modular_filesystem_test.cc"],
        linkopts = ["-ldl"],
        tags = [
            "manual",  # Requires DSOs as arguments, eventual setup
            "notap",  # b/139060984, requires implementing modular support for Google filesystem
        ],
        deps = [
            ":modular_filesystem",
            "//tensorflow/core:framework_internal",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. RELEASE.md

    *   Extends `tf.keras.layers.Lambda` layers to support multi-argument lambdas,
        and keyword arguments when calling the layer.
    *   Functional models now get constructed if *any* tensor in a layer call's
        arguments/keyword arguments comes from a keras input. Previously the
        functional api would only work if all of the elements in the first argument
        to the layer came from a keras input.
    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/c_api_experimental.h

                                                   TF_Status* status,
                                                   void* device_info);
    
      // Method to execute an operation.
      //
      // Arguments provide enough information to reconstruct the original `TFE_Op`,
      // or construct a transformed version, by inspecting the passed `op`.
      //
      // TFE_OpGetDevice(op) records the original placement of the operation. It may
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  5. ci/official/utilities/rename_and_verify_wheels.sh

    # limitations under the License.
    # ==============================================================================
    #
    # Usage: rename_and_verify_wheels.sh
    # This script is aware of TFCI_ variables, so it doesn't need any arguments.
    # Puts new wheel through auditwheel to rename and verify it, deletes the old
    # one, checks the filesize, and then ensures the new wheel is installable.
    set -euxo pipefail
    
    cd "$TFCI_OUTPUT_DIR"
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental.cc

        tensorflow::ImmediateExecutionOperation* op =
            tensorflow::unwrap(op_to_reset);
        op->Clear();
        status->status = op->Reset(op_or_function_name, raw_device_name);
      } else {
        TF_SetStatus(status, TF_INVALID_ARGUMENT,
                     "op_to_reset should not be nullptr");
      }
    }
    
    void TFE_ContextEnableGraphCollection(TFE_Context* ctx) {
      tensorflow::unwrap(ctx)->SetShouldStoreGraphs(true);
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  7. tensorflow/c/eager/c_api.cc

            tensorflow::errors::InvalidArgument("Unparseable AttrValue proto");
        return;
      }
      if (op == nullptr) {
        status->status = tensorflow::errors::InvalidArgument(
            "Got a null or uninitialized `op` argument");
        return;
      }
      tensorflow::EagerOperation* operation =
          OperationFromInterface(tensorflow::unwrap(const_cast<TFE_Op*>(op)));
      operation->MutableAttrs()->Set(attr_name, attr_value);
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  8. tensorflow/c/eager/tape.h

          (*result)[id].push_back(output_gradients[i]);
        }
      }
      return absl::OkStatus();
    }
    
    // TODO(agarwal): use an automatic mechanism for handling None arguments to
    // gradient functions.
    //
    // Some gradient functions can accept None arguments for gradients. The
    // following maps the operation name to the indices at which the corresponding
    // gradient function can accept None values. e.g. FusedBatchNorm outputs 5
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  9. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

        return;
      } else if (S_ISDIR(st.st_mode)) {
        TF_SetStatus(status, TF_FAILED_PRECONDITION, "source path is a directory");
        return;
      }
    
      // Do the actual rename. Here both arguments are filenames.
      if (rename(src, dst) != 0)
        TF_SetStatusFromIOError(status, errno, dst);
      else
        TF_SetStatus(status, TF_OK, "");
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. .bazelrc

    # Sets the default Apple platform to macOS.
    build:macos --apple_platform_type=macos
    
    # gRPC on MacOS requires this #define
    build:macos --copt=-DGRPC_BAZEL_BUILD
    
    # Avoid hitting command line argument limit
    build:macos --features=archive_param_file
    
    # Settings for MacOS on ARM CPUs.
    build:macos_arm64 --cpu=darwin_arm64
    build:macos_arm64 --macos_minimum_os=11.0
    
    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