Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 739 for identity1 (0.23 sec)

  1. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

      auto ctrl_dep =
          NodeWith(Op("Identity"), Inputs(Out(0, switch_on_compilation_pred)));
      // Check that we pipe int32 inputs through an IdentityN to avoid extra D2H
      // copies.
      EXPECT_THAT(
          stateful_partitioned_call_op,
          NodeWith(Inputs(Out(NodeWith(Op("IdentityN"), CtrlDeps(ctrl_dep))))));
    }
    #endif
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

        call_op_returns.append(call_op.getResults().begin(),
                               call_op.getResults().end());
        SetFunctionPrivate(func_op);
      }
    
      // Creates Identity/IdentityN ops for returing values. This allows us to
      // restore the same output tensor names in python.
      int32_t output_count = 0;
      // Map from node name to the list of the OutputInfos of its outputs that are
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/UnitOfWork.java

        }
    
        /**
         * Determine the identity of the work unit that uniquely identifies it
         * among the other work units of the same type in the current build.
         */
        Identity identify(Map<String, ValueSnapshot> identityInputs, Map<String, CurrentFileCollectionFingerprint> identityFileInputs);
    
        interface Identity {
            /**
             * The identity of the work unit that uniquely identifies it
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/resource-alias-analysis-test.mlir

          tf_executor.yield
        }
        tf_executor.fetch %island : !tf_executor.control
      }
      func.return
    }
    
    // -----
    // Tests handling of Cast, Identity, and IdentityN
    
    !tf_res = tensor<*x!tf_type.resource<tensor<32xf32>>>
    // CHECK-LABEL: func @aliasing_identities
    func.func @aliasing_identities(%arg0: tensor<32xf32>) -> () {
      tf_executor.graph {
        // CHECK: tf_executor.island
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 21 17:19:47 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

                            visited_wrapped_ops, /*incoming=*/false)) {
        return failure();
      }
      return success();
    }
    
    // Whenever we find an Identity op that is unqualified, we remove this Identity
    // op from the list `tpu_ops`. An unqualified Identity op indicates either its
    // inputs or its outputs do not belong to the same cluster.
    bool ExcludeIdentityOp(llvm::SmallDenseSet<Operation*>& tpu_ops,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

          return std::make_tuple(t, identity_ops);
        } else if (auto identity =
                       llvm::dyn_cast_or_null<mlir::TF::IdentityOp>(user)) {
          identity_ops.emplace_back(identity);
          result = identity->getResult(0);
        } else {
          result = OpResult();  // reset to stop iterating
        }
      } while (result);
    
      return std::make_tuple(T(), identity_ops);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_save_function_ops_to_main.cc

      Value control_fetch = *cloned_fetch_op.getFetches().begin();
      cloned_fetch_op.erase();
    
      return control_fetch;
    }
    
    // Creates a new `IdentityOp` wrapped by an `IslandOp`. The identity op returns
    // the `main_file_prefix_arg` and has control dependencies to `control_inputs`.
    IslandOp CreateFilePrefixIdentityOp(const BlockArgument main_file_prefix_arg,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/tensorflow/tests/fallback_to_flex_ops_default.mlir

    // CHECK: return %[[CONST_0]] : tensor<*xf32>
    }
    
    func.func @identity(%arg0: tensor<2xf32>) -> tensor<*xf32> {
      %cst_1 = "tf.Const"() {device = "", value = dense<1.000000e-03> : tensor<f32>} : () -> tensor<f32>
      %0 = "tf.Identity"(%arg0) {device = ""} : (tensor<2xf32>) -> tensor<*xf32>
      %1 = "tf.AddV2"(%0, %cst_1) {device = ""} : (tensor<*xf32>, tensor<f32>) -> tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold_test.cc

            %cast = "tf.Cast"(%output) : (tensor<1024x24x24x3xi32>) -> tensor<1024x24x24x3xf32>
            %identity = "tf.Identity"(%scale) : (tensor<f32>) -> tensor<f32>
            %mul = "tf.Mul"(%cast, %identity) : (tensor<1024x24x24x3xf32>, tensor<f32>) -> tensor<1024x24x24x3xf32>
            func.return %mul : tensor<1024x24x24x3xf32>
          }
        }
      )mlir";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/resource-device-inference.mlir

          // CHECK-NEXT: "tf.Identity"
          // CHECK-SAME: {device = "/TPU:0"}
          %id0 = "tf.Identity"(%arg0) : (!tf_res)
            -> !tf_res
          // CHECK-NEXT: "tf.Identity"
          // CHECK-SAME: {device = "/TPU:0"}
          %id1 = "tf.Identity"(%id0) : (!tf_res)
            -> !tf_res
          // CHECK-NEXT: "tf.Identity"
          // CHECK-SAME: {device = "/CPU:0"}
          %id2 = "tf.Identity"(%var_handle) : (!tf_res)
            -> !tf_res
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 16:01:45 UTC 2022
    - 18.2K bytes
    - Viewed (0)
Back to top